Home > Database > Mysql Tutorial > What should I do if mysql cannot be closed?

What should I do if mysql cannot be closed?

藏色散人
Release: 2021-12-28 11:05:37
Original
4929 people have browsed it

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.

What should I do if mysql cannot be closed?

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template