mysql_get_server_info — Get server info

const char * mysql_get_server_info(MYSQL * mysql);

Retrieves the server version

Parameters

mysql

A mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().

Return value

Returns the server version or NULL on failure.

[Note]

To obtain the numeric server version please use mysql_get_server_version()

See also

mysql_get_server_version(), mysql_get_client_info