Re: Detecting Mysql server is running
| From: | Marek Kilimajer | Date: | Sat, 02 Oct 2004 09:35:19 +0000 |
| Subject: | Re: Detecting Mysql server is running | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198483@lists.php.net to get a copy of this message | ||
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