Re: Is there a timeout or similar en MySql?
| From: | Matt Parlane | Date: | Thu, 16 May 2002 09:17:04 +0000 |
| Subject: | Re: Is there a timeout or similar en MySql? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13808@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/en/function.mysql-ping.php
and don't double post.
Matt
"Hugo Gb" <hugogblanco@hotmail.com> wrote in message
news:F9ElR3n4DVvm24TzmKY00001de5@hotmail.com...
> Hi,
> I'm developing a web site with PHP and I want to show some information
> only
> if I'm able to connect to a mysql database . If I can´t connect , simply I
> don´t
> show some parts of the web page.
>
> Sounds easy and it works fine in local , but when I install it in the
web
> server ,
> if it can´t connect to the database , seems like it keeps on waiting to
> establish
> the conection and don´t show anything until I stop it.
>
> Is there any way to establish a timeout? or anything similar.
>
> Thanks in advice.
>
>
>
>
>
>
> _________________________________________________________________
> Únase con MSN Hotmail al servicio de correo electrónico más grande del
> mundo. http://www.hotmail.com
>