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,
YY is the release level (or minor version),
ZZ is the sub-version within the
major_version*10000 + release_level*100 + sub_version
As of MySQL 5.7.4 and Connector/C 6.1.3, the function value is the version of MySQL or Connector/C that provides the client library. Before MySQL 5.7.4 and Connector/C 6.1.3, 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 22.214.171.124, “C API Server and Client Library Versions”.