Home  >  Article  >  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

王林
王林Original
2019-12-26 14:43:475395browse

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

Recommended learning video tutorial: linux video tutorial

or

# service mysql status

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!

Statement:
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