Fix MySQL issue