At 18:33 -0800 11/16/05, Scott Haneda wrote:
Sometimes I paste in something in mysql CLI and it just does this:
   "> WHERE       products.ship_status != 1
    "> );
    "> /c
    "> \c
    "> \c;
    ">

I tried all the \c commands and nothing will get me out of it, I can ^c and
it will get me out, but then I have to login again, which is a pain, how can
I tell mysql to drop me back to a clean prompt?

The prompt "> tells you that you're in the middle of entering
a double-quoted string. Enter the closing double quote and then \c.

Similar logic applies to the '>, `>, and /*> prompts.

See end of this page:

http://dev.mysql.com/doc/refman/5.0/en/entering-queries.html

--
Paul DuBois, MySQL Documentation Team
Madison, Wisconsin, USA
MySQL AB, www.mysql.com

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to