MySQL 5.6 C API Developer Guide
const char * mysql_get_client_info(void)
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”.