mysql how to exit the editing interface in text editor window? (Ctrl + c and \ c under mysql)

[1] SQL editor

We are wrong when SQL editor, you want to exit the editor to re-enter, or do not want to write.

   As shown below

    

 

   (1) If we press ctrl + c interrupt, then exit the entire linux, as shown above

   (2) we can use the \ c, direct SQL editing this end, as shown below.

    To solve the case of an error when editing complex SQL;

      

 

Guess you like

Origin www.cnblogs.com/gered/p/11891151.html