MySQL Connector/Python Developer Guide

10.2.23 MySQLConnection.get_server_info() Method

Deprecation

This method has been deprecated as of 9.3.0. Use the property method Section 10.2.49, “MySQLConnection.server_info Property” instead.

This method returns the MySQL server information verbatim as a string, for example '5.6.11-log', or None when not connected.