FAQ-How to Check Whether the MySQL Database Is Enabled

Publication Date:  2014-10-29 Views:  138 Downloads:  0
Issue Description
This topic describes how to check whether the MySQL database is enabled in the SUSE Linux operating system (OS)?

How to Check Whether the MySQL Database Is Enabled
Solution
Prerequisites:
You have logged in to the NetEco server as user root.

Answer:

Run the following command on the command line interface (CLI):

> /etc/init.d/mysql status
MySQL running (26617)             done

If the preceding information is displayed, the MySQL database is enabled.

MySQL is not running            failed

If the preceding information is displayed, the MySQL database is disabled.

END