MySQL 5.6 C API Developer Guide
const char * mysql_get_server_info(MYSQL *mysql)
Returns a string that represents the MySQL server version (for example, "5.6.51").
"5.6.51"
A character string that represents the MySQL server version.
None.