mysql_get_client_info
PHP function
Edit on GitHub ✎
(PHP 4 >= 4.0.5, PHP 5)
Get MySQL client info
Note mysqli_get_client_infoPDO::getAttribute with attribute as PDO::ATTR_CLIENT_VERSION
Description
mysql_get_client_info(): string
mysql_get_client_info() returns a string that represents the client library version.
Parameters Parameters
Return Values
The MySQL client version.
Examples
mysql_get_client_info() example
php
<?php
printf("MySQL client info: %s\n", mysql_get_client_info());
?>The above example will output something similar to:
output
MySQL client info: 3.23.39