Documentation Home
MySQL 5.7 C API Developer Guide
Download this Manual
PDF (US Ltr) - 1.1Mb
PDF (A4) - 1.1Mb
HTML Download (TGZ) - 147.1Kb
HTML Download (Zip) - 156.8Kb


5.4.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.35").

Return Values

A character string that represents the MySQL server version.

Errors

None.