Re: Detecting Mysql server is running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



barsalou wrote:
I know I can see if php has the ability to talk with the Mysql server,
but is there a way to determine if the Mysql server is running.  In some
cases, I wouldn't have passwords, so a mysql_connect wouldn't work.

I'm sure, at any given time, there is a mysql server running somewhere in the world.


If you mean if it is running on your server, run

ps ax |grep mysqld | grep -v grep

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux