By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,462 Members | 799 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,462 IT Pros & Developers. It's quick & easy.

How to check whether MySQL service is running or not ?

100+
P: 296
Hi

How to check whether MySQL service is running or not ?


When I login I should get a message if Mysql is not running .
Jun 2 '07 #1
Share this Question
Share on Google+
1 Reply


pbmods
Expert 5K+
P: 5,821
You can try to connect to the MySQL server using @mysql_connect and then display a message if the connection fails.
Jun 2 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.