MySQL Connector/Python Developer Guide
Syntax:
info = ccnx.get_proto_info()
Returns the protocol version used by the current session.