Fix the MySQL database