MySQL Connector/Python Developer Guide
This read-only property returns the host name or IP address used for connecting to the MySQL server.
Returns a string.