Re: MySQL and PHP
| From: | Paul Menard | Date: | Wed, 17 Aug 2005 14:10:33 +0000 |
| Subject: | Re: MySQL and PHP | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26266@lists.php.net to get a copy of this message | ||
Well you can start with the mysql_connect() call. If you are unable to connection check the error
code. Then take action if needed.
--- Jon <jonraston@hotmail.com> wrote:
> Is there some way to have PHP test if MySQL is running and if not make the
> system call to start it?
>
> This is just an ME test machine but I would also like to know how on XP PRO
> cause I have another test machine available.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>