4.1 Obtaining Connector/Python

Using pip is the preferred method to obtain, install, and upgrade Connector/Python. Alternatively, see the Connector/Python download site.

Note

The mysql-connector-python package installs an interface to the commonly used classic MySQL protocol. Alternatively, an X DevAPI interface is available as its own mysqlx-connector-python package. Prior to Connector/Python 8.3.0, mysql-connector-python installed interfaces to both the X and classic protocols.

Debian, Solaris, and most RPM (except Enterprise Linux) packages are not available from dev.mysql.com. Instead, using pip to manage Connector/Python is recommended. Packages for those platforms were available before Connector/Python 9.0.0.