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