1mysql_get_server_info(3)      MariaDB Connector/C     mysql_get_server_info(3)
2
3
4
5   Name
6       mysql_get_server_info - Returns server version as string
7
8   Synopsis
9              #include <mysql.h>
10
11              const char * mysql_get_server_info(MYSQL * mysql);
12
13   Description
14       Returns the server version or NULL on failure.
15
16   Parameter
17       • mysql  -  a  connection identifier, which was previously allocated by
18         mysql_init(3) and connected by mysql_real_connect(3).
19
20   Notes
21       To obtain the numeric server version please  use  mysql_get_server_ver‐
22       sion(3).
23
24   Return value
25       Returns the server version as zero terminated string or NULLon failure.
26
27   See also
28mysql_get_server_info(3)
29
30mysql_get_client_info(3)
31
32
33
34Version 3.2.2                                         mysql_get_server_info(3)
Impressum