MySQL Connector/Python Developer Guide

10.2.24 MySQLConnection.get_server_version() Method

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.