mysql_get_server_info - mariadb-corporation/mariadb-connector-c GitHub Wiki
mysql_get_server_info - Returns server version as string
#include <mysql.h>
const char * mysql_get_server_info(MYSQL * mysql);
Returns the server version or NULL
on failure.
-
mysql
- a connection identifier, which was previously allocated by mysql_init() and connected by mysql_real_connect().
To obtain the numeric server version please use mysql_get_server_version().
Returns the server version as zero terminated string or NULL
on failure.