Home > Operation and Maintenance > Linux Operation and Maintenance > How to check whether the mysql service is started in linux

How to check whether the mysql service is started in linux

王林
Release: 2019-12-26 14:43:47
Original
5493 people have browsed it

How to check whether the mysql service is started in linux

Specific method:

You can use the following command to check the startup status of mysql:

# service mysqld status
Copy after login

Recommended learning video tutorial: linux video tutorial

or

# service mysql status
Copy after login

If it is mysqld is stopped, it means that the mysql service is stopped;

If it ismysqld is running It means that the mysql service is started.

More related articles and tutorials are recommended: linux tutorial

The above is the detailed content of How to check whether the mysql service is started in linux. 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