Returns the MySQL client version as a string (PHP 5)
string mysqli_get_client_info ( )

The mysqli_get_client_info() function is used to return a string representing the client version being used in the MySQLi extension.


A string that represents the MySQL client library version


例 1289. mysqli_get_client_info


/* We don't need a connection to determine
  the version of mysql client library */

printf("Client library version: %s\n", mysqli_get_client_info());