make the mysql works