Most users of command-line shells like Bash are accustomed to using CTRL+c to halt a command or clear a line. Within the mysql command-line client, CTRL+c causes the entire program to exit. Instead of CTRL+c, type \c and press Enter. This clears the current command and returns you to an empty command-line. |