MySQL Connector/Python Release Notes
The recommended way to install Connector/Python is by
pip and wheel
packages. If your system does not have pip
, you
can install it with your system's software manager, or with a
standalone
pip installer.
Note
You are strongly recommended to use the latest version of
pip
to install Connector/Python. Upgrade your
pip
version if needed.
Install the Connector/Python interfaces for the classic MySQL protocol and the X Protocol, respectively, with the following commands.
# classic API
$ pip install mysql-connector-python
# X DevAPI
$ pip install mysqlx-connector-python
Refer to the installation tutorial for alternate means to install X DevAPI.