fix prepare_mysql with make mysql_dir