Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual Excerpts from this Manual

MySQL 5.7 Reference Manual  /  ...  /  mysql_get_proto_info() mysql_get_proto_info()

unsigned int mysql_get_proto_info(MYSQL *mysql)


Returns the protocol version used by current connection.

Return Values

An unsigned integer representing the protocol version used by the current connection.



Download this Manual
User Comments
Sign Up Login You must be logged in to post a comment.