•
mysql_get_client_info
Get MySQL client info
Description
string mysql_get_client_info();
mysql_get_client_info
Return Values
The MySQL client version.
Examples
Example 20.54.
<?php
printf("MySQL client info: %s\n", mysql_get_client_info());
?>
The above example will output something similar to:
MySQL client info: 3.23.39
See Also
mysql_get_host_info
mysql_get_proto_info
mysql_get_server_info
20.7.2.5.27.
mysql_get_host_info
Copyright 1997-2012 the PHP Documentation Group. [2230]
•
mysql_get_host_info
Get MySQL host info
Original MySQL API (Mysql)
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the
future. Instead, the
MySQLi
also
MySQL: choosing an API
Alternatives to this function include:
mysqli_get_client_info
PDO::getAttribute(PDO::ATTR_CLIENT_VERSION)
returns a string that represents the client library version.
mysql_get_client_info
Warning
This extension is deprecated as of PHP 5.5.0, and will be removed in the
future. Instead, the
MySQLi
also
MySQL: choosing an API
Alternatives to this function include:
mysqli_get_host_info
PDO::getAttribute(PDO::ATTR_CONNECTION_STATUS)
or
PDO_MySQL
extension should be used. See
guide and
related FAQ
example
or
PDO_MySQL
extension should be used. See
guide and
related FAQ
2278
for more information.
for more information.
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers