1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00
SqMod/vendor/MDBC/man/mysql_get_server_info.3

38 lines
868 B
Groff
Raw Normal View History

.\" Automatically generated by Pandoc 2.5
.\"
.TH "mysql_get_server_info" "3" "" "Version 3.2.2" "MariaDB Connector/C"
.hy
.SS Name
.PP
mysql_get_server_info \- Returns server version as string
.SS Synopsis
.IP
.nf
\f[C]
#include <mysql.h>
const char * mysql_get_server_info(MYSQL * mysql);
\f[R]
.fi
.SS Description
.PP
Returns the server version or \f[C]NULL\f[R] on failure.
.SS Parameter
.IP \[bu] 2
\f[C]mysql\f[R] \- a connection identifier, which was previously
allocated by \f[B]mysql_init(3)\f[R] and connected by
\f[B]mysql_real_connect(3)\f[R].
.SS Notes
.PP
To obtain the numeric server version please use
\f[B]mysql_get_server_version(3)\f[R].
.SS Return value
.PP
Returns the server version as zero terminated string or \f[C]NULL\f[R]on
failure.
.SS See also
.IP \[bu] 2
\f[B]mysql_get_server_info(3)\f[R]
.IP \[bu] 2
\f[B]mysql_get_client_info(3)\f[R]