Wednesday, July 30, 2014

exit from mysql shell

Sometimes you may struck in the mysql shell and you cannot exit from the shell using /q or exit command.

Solution:
use single quotes and then quit from your mysql console.

`> \q
`>
`> ;


'> ''' ( use 3 single quotes)
 -> \q
Bye
[root@test ~]#




1 comment: