Solution to the problem that mysql cannot be closed: 1. Check the users in the activity monitor; 2. Open the command window; 3. Execute "sudo /usr/local/mysql/support-files/mysql.server stop" Just order.
The operating environment of this article: linux5.9.8 system, mysql5.5 version, Dell G3 computer.
What should I do if mysql cannot be closed?
Note: If you find that mysql cannot be closed or opened, please pay attention to who the user is in the activity monitor.
If so Mysql itself,
you will not be able to close, because the user did not open it yourself, so it certainly cannot be closed.
Or it cannot be opened.
At this time, you can use the following shutdown command
sudo /usr/local/mysql/support-files/mysql.server stop
Recommended study: "mysql video tutorial"
The above is the detailed content of What should I do if mysql cannot be closed?. For more information, please follow other related articles on the PHP Chinese website!