Correct bug in mysql commands.