port of Test::mysqld