-
Notifications
You must be signed in to change notification settings - Fork 258
mysql_get_server_version
Georg Richter edited this page Aug 16, 2018
·
1 revision
mysql_get_server_version - returns numeric server version
#include <mysql.h>
unsigned long mysql_get_server_version(MYSQL * mysql);
Returns an integer representing the version of connected server.
-
mysql
- a connection identifier, which was previously allocated by mysql_init() and connected by mysql_real_connect().
The form of the version number is VERSION_MAJOR * 10000 + VERSION_MINOR * 100 + VERSION_PATCH.
The version number of the connected server
MariaDB Connector/C Reference