How to Quit MySQL from the Command Line: Exiting Shells and Terminating Sessions Safely
To quit the MySQL command-line client, type exit, quit, or \q at the mysql> prompt and press Enter. Alternatively, press Ctrl + D on Linux, macOS, or...
Topic
Explore articles about CLI.
1 article
To quit the MySQL command-line client, type exit, quit, or \q at the mysql> prompt and press Enter. Alternatively, press Ctrl + D on Linux, macOS, or...