Re: MySQL and PHP
| From: | Soheil Noori Bushehri | Date: | Wed, 17 Aug 2005 14:50:12 +0000 |
| Subject: | Re: MySQL and PHP | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26268@lists.php.net to get a copy of this message | ||
you may also consider using
$mysql = @mysql_connect(...);
to get rid of the warning if it is on.
On 8/17/05, Paul Menard <paulmenard1@yahoo.com> wrote:
> 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
> >
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Soheil Noori Bushehri
soheilnb@gmail.com