MySQL 5.7 Reference Manual Including MySQL NDB Cluster 7.5 and NDB Cluster 7.6

27.8.7.32 mysql_get_server_info()

const char *mysql_get_server_info(MYSQL *mysql)

Description

Returns a string that represents the MySQL server version (for example, "5.7.29").

Return Values

A character string that represents the MySQL server version.

Errors

None.