Bug #82985 Failing to close quotation marks when using CL mysql causes you to get stuck
Submitted: 14 Sep 2016 10:43 Modified: 14 Sep 2016 12:32
Reporter: Luke West Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:14.14 distrib 5.7.12 OS:Ubuntu (16)
Assigned to: CPU Architecture:Any

[14 Sep 2016 10:43] Luke West
Description:
mysql> select * from table where name = "
    "> \c
    "> exit
    "> exit
    "> \c
    "> ^C^C^C^X^X^Z
[3]+  Stopped

How to repeat:
See command above
[14 Sep 2016 12:32] MySQL Verification Team
Hi,  this is not a bug.  Please see this:
http://dev.mysql.com/doc/refman/5.7/en/entering-queries.html
[14 Sep 2016 12:33] MySQL Verification Team
"It is important to know what the '>, ">, and `> prompts signify, because if you mistakenly enter an unterminated string, any further lines you type appear to be ignored by mysql—including a line containing QUIT. This can be quite confusing, especially if you do not know that you need to supply the terminating quote before you can cancel the current query."