On Thu, 20 Sep 2001 09:39, Jason Bell wrote:
> What is the *SIMPLEST* way to test connectivity to a database? 
> Shouldnt there be a mysql_connection_test command or something?  :)
>
> -Jason

Trying to connect is usually a good indicator :-)

mysql_connect returns a positive link identifier on success or an error 
message on failure. That should do what you want.

I wonder what my sigmonster is up to?

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   "Stupid" is a boundless concept.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to