mysql_get_proto_info
mysql_get_proto_info returns the protocol version number used for a MariaDB Connector/C connection; versions 9 and below are not supported.
Last updated
Was this helpful?
mysql_get_proto_info returns the protocol version number used for a MariaDB Connector/C connection; versions 9 and below are not supported.
unsigned int mysql_get_proto_info(MYSQL * mysql);mysql - a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
Returns the protocol version number for the specified connection.
The protocol version number in use.
The client library doesn't support protocol version 9 and prior.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?
Was this helpful?

