MySQL Connector/Python Developer Guide
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.