MySQL 5.6 C API Developer Guide

7.27 mysql_get_client_info()

const char *
mysql_get_client_info(void)

Description

Returns a string that represents the MySQL client library version (for example, "5.6.51").

The function value is the MySQL version. For more information, see Section 4.4, “C API Server Version and Client Library Version”.

Return Values

A character string that represents the MySQL client library version.

Errors

None.