Fixing the mysql commands.