PDA

Click to See Complete Forum and Search --> : Getting MySQL version


filburt1
Jun 10th, 2002, 09:52 AM
Just as there is phpversion() for getting the version of PHP on the server, how do I get the version of MySQL?

chrisjk
Jun 10th, 2002, 09:57 AM
ja, mysql_get_client_info() function

filburt1
Jun 10th, 2002, 10:03 AM
Cheeky :)

filburt1
Jun 10th, 2002, 10:07 AM
How about the server name and version, i.e. like "Apache 1.3.24 running on turtletips.dns2go.com"?

The Hobo
Jun 10th, 2002, 10:39 AM
http://www.php.net/manual/en/

filburt1
Jun 10th, 2002, 12:21 PM
Yeah thanks Hobo :rolleyes: Was the first thing I looked at...

The Hobo
Jun 10th, 2002, 12:31 PM
and yet you didn't find the "mysql_get_client_info()" for the first question... :rolleyes:

The Hobo
Jun 10th, 2002, 12:36 PM
I found "$_SERVER['SERVER_SOFTWARE']" within the few minutes from my last post...

filburt1
Jun 10th, 2002, 01:00 PM
Thanks

The Hobo
Jun 10th, 2002, 11:06 PM
Sorry for being an arse.