Correct the mysql script