a simple mysql instance creator for testing purpose