ashez2ashes Posted November 8, 2012 Share Posted November 8, 2012 I'm having a silly problem with using mysql from the command line in Windows. Ocassionally, I forget a quotation mark around a string and enter the command. Then the prompt is stuck at this symbol '> How do I clear this mistake (I assume the command did not get entered into the database? or am I wrong?) without exiting sql completely? Link to comment Share on other sites More sharing options...
Edward Posted November 8, 2012 Share Posted November 8, 2012 Type '\c' to clear the current input statement. If the query run you should receive some info back about it. Link to comment Share on other sites More sharing options...
Larry Posted November 8, 2012 Share Posted November 8, 2012 If the prompt is '> or ">, that means you're still in a quoted string and you need to enter a matching ' or " before you can use \c. 1 Link to comment Share on other sites More sharing options...
Recommended Posts