MySQL Connector/Python Developer Guide

10.2.51 MySQLConnection.server_version Property

This read-only property returns the MySQL server version as a tuple, or None when not connected.