unsigned long mysql_get_client_version(void)
Returns an integer that represents the MySQL client library
version. The value has the format
X is the major version,
is the release level (or minor version), and
ZZ is the sub-version within the release
major_version*10000 + release_level*100 + sub_version
"5.6.22" is returned
The function value is the MySQL version. For Connector/C, this is the MySQL version on which the Connector/C distribution is based. For more information, see Section 188.8.131.52, “C API Server and Client Library Versions”.
An integer that represents the MySQL client library version.