Check mysql service from command line
How do I check mysql service from the command line?
I tried
service mysql status
and I got
Redirecting to /bin/systemctl status mysql.service
Unit mysql.service could not be found.
But my sites are working and WHM says it's running.
Thanks!
-
service mysqld status
0 -
Thank you!
0 -
Hi,
You can also use the following cPanel script to check MySQL's status (this command should work no matter which Operating System you use for your cPanel server):
/scripts/restartsrv_mysql --status
0
Please sign in to leave a comment.
Comments
3 comments