Get MySQL client info

mysqli::character_set_name
mysqli::$client_version
mysqli
PHP Manual

# mysqli::$client_info

# mysqli_get_client_info

(PHP 5)

mysqli::$client_info -- mysqli_get_client_info — Get MySQL client info

### Description

Object oriented style

string $mysqli->client_info;

Procedural style

string mysqli_get_client_info ( mysqli `$link` )

Returns a string that represents the MySQL client library version.

### Return Values

A string that represents the MySQL client library version

### Examples

Example #1 mysqli_get_client_info

`<?php
/* We don't need a connection to determine
the version of mysql client library */
printf("Client library version: %s\n", mysqli_get_client_info());
?>`

### See Also

- mysqli_get_client_version() - Returns the MySQL client version as an integer
- mysqli_get_server_info() - Returns the version of the MySQL server
- mysqli_get_server_version() - Returns the version of the MySQL server as an integer

mysqli::character_set_name
mysqli::$client_version
mysqli
PHP Manual