make the mysql work in dev env