service mysql status

Check MySQL Status

Enables you to check the status of the MySQL database.

Keyword

service mysql status

Permission

The user must be root.

Syntax

# service mysql status

Options

None.

Sample Output

[lsmsadm@lsmspri etc]$ su - root 
Password: 
[root@lsmspri ~]# 
[root@lsmspri ~]# 
[root@lsmspri ~]# service mysql status 
MySQL running (5089) [ OK ] 
[root@lsmspri ~]#