Documentation Home
MySQL 8.0 C API Developer Guide
Download this Manual
PDF (US Ltr) - 1.2Mb
PDF (A4) - 1.2Mb
HTML Download (TGZ) - 158.8Kb
HTML Download (Zip) - 190.0Kb


MySQL 8.0 C API Developer Guide  /  C API Function Descriptions  /  mysql_get_server_info()

7.33 mysql_get_server_info()

const char *
mysql_get_server_info(MYSQL *mysql)

Description

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

Return Values

A character string that represents the MySQL server version.

Errors

None.