mysql_get_server_info - mariadb-corporation/mariadb-connector-c GitHub Wiki

Name

mysql_get_server_info - Returns server version as string

Synopsis

#include <mysql.h>

const char * mysql_get_server_info(MYSQL * mysql);

Description

Returns the server version or NULL on failure.

Parameter

Notes

To obtain the numeric server version please use mysql_get_server_version().

Return value

Returns the server version as zero terminated string or NULLon failure.

See also

⚠️ **GitHub.com Fallback** ⚠️