MySQL Connector/Python Release Notes
Deprecation
This method has been deprecated as of 9.3.0. Use the property method Section 10.2.51, “MySQLConnection.server_version Property” instead.
This method returns the MySQL server version as a tuple, or
None
when not connected.