mysql_get_client_version
mysql_get_client_version retrieves the client library version as an unsigned long; use mysql_get_client_info for the string representation.
Last updated
Was this helpful?
mysql_get_client_version retrieves the client library version as an unsigned long; use mysql_get_client_info for the string representation.
unsigned long mysql_get_client_version(void);Returns a number representing the client library version. The value has the format XXYYZZ: major version * 10000 + minor version * 100 + patch version.
A long integer representing the client version
To obtain a string containing the client library version use the mysql_get_client_info() function.
Since MariaDB Server 10.2.6 and MariaDB Connector/C 3.0.1 the client library is bundled with server package and returns the server package version. To obtain the client version of the connector, please use the constant MARIADB_PACKAGE_VERSION_ID
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?
Was this helpful?

