4.3 Obtaining Connector/Python

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

Note

The mysql-connector-python package installs an interface to the classic MySQL protocol. The X DevAPI is available by 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.

Most Linux installation packages (except RPMs for Enterprise Linux) are no longer available from Oracle since Connector/Python 9.0.0. Using pip to manage Connector/Python on those Linux distributions is recommended.