Add more control to the mysql startup process