MySQL Connector/Python Developer Guide

11.22 _mysql_connector.MySQL.get_host_info() Method

Syntax:

info = ccnx.get_host_info()

Returns a description of the type of connection in use as a string.