[fix] mysql support #541

We've fix a bug which was causing an exception when launching first migrate with mysql database