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


5.4.34 mysql_get_server_info()

const char *
mysql_get_server_info(MYSQL *mysql)

Description

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

Return Values

A character string that represents the MySQL server version.

Errors

None.