Method to exit mysql: You can directly execute the exit command to exit mysql, or you can execute the quit command to exit mysql. If you want to force quit mysql, you can press the [ctrl d] shortcut key.
#If it is a normal command, enter exit directly after entering the sql statement to exit.
(Recommended tutorial: mysql video tutorial)
You can also exit mysql by entering the quit command.
If you want to force quit, you can press the ctrl d shortcut key.
Related recommendations: php training
The above is the detailed content of How to exit mysql. For more information, please follow other related articles on the PHP Chinese website!