mysql_get_client_info() - mysql/mysql.h
Returns a string that represents the MySQL client library
version; for example, "5.7.16"."5.7.16"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 25.8.4.5, “C API Server and Client Library Versions”.Section 25.8.4.5, “C API Server and Client Library Versions”
Syntax
const char *mysql_get_client_info(void)
Example
Output / Return Value
A character string that represents the MySQL client library
version.
Limitations
Alternatives / See Also
Reference