Re: Detecting Mysql server is running
| From: | Greg Donald | Date: | Sat, 02 Oct 2004 00:21:20 +0000 |
| Subject: | Re: Detecting Mysql server is running | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198467@lists.php.net to get a copy of this message | ||
On Fri, 01 Oct 2004 16:13:23 -0800, barsalou <barjunk@attglobal.net> 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.
>
> Anyone have ideas?
system('telnet localhost 3306');
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/