[COOK-3319] mysql_install_db is not run with datadir or basedir options for systems other than macos

https://tickets.opscode.com/browse/COOK-3319

added in the basedire and datadir optinos for mysql_install_db. Otherwise the dbs are installed in the wrong place