Documentation Home
MySQL 8.0 C API Developer Guide
Download this Manual
PDF (US Ltr) - 1.3Mb
PDF (A4) - 1.3Mb


5.4.29 mysql_get_client_info()

const char *
mysql_get_client_info(void)

Description

Returns a string that represents the MySQL client library version (for example, "8.0.36").

The function value is the version of MySQL that provides the client library. For more information, see Section 3.6.12, “Obtaining the Server Version and Client Library Version”.

Return Values

A character string that represents the MySQL client library version.

Errors

None.