Re: MySQL and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxx> 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@xxxxxxxxx

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux