Returns the protocol version used by current connection.
unsigned int mysql_get_proto_info(MYSQL *mysql)
An unsigned integer representing the protocol version used by the current connection.