Home > Database > Mysql Tutorial > body text

How to check whether the mysql service is started in linux

coldplay.xixi
Release: 2020-10-19 10:58:15
Original
5883 people have browsed it

Linux method to check whether the mysql service is started: first open the terminal; then enter the relevant command statement to check, the code is [ # service mysqld status] or [ # service mysql status].

How to check whether the mysql service is started in linux

How to check whether the mysql service is started in Linux:

There are many services under Linux, today I will write how Check whether the service is started, taking mysql as an example

Use the command # service mysqld status

or # service mysql status command to check the startup of mysql Status

  • If mysqld is stopped, it means that the mysql service is stopped.

  • If mysqld is running, it means that the mysql service is Startup status

Related free learning recommendations:mysql database(Video)

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 [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!