COOK-3319

added in the basedire and datadir optinos for mysql_install_db. Otherwise the dbs are installed in the wrong place