Installers in native package formats are available for Unix and Unix-like systems, and for Windows.
You may need
root or administrator privileges to
perform the installation operation.
python.exe to be in
PATH. While installing the Python
distribution on your system, either enable Add
python.exe to Path or manually add it yourself. The
Connector/Python MSI will fail to install if it cannot locate
Download and install Python for Windows from http://python.org/download/.
Windows users can use the Windows MSI Installer
.msi file). To use the MSI Installer, launch
it and follow the prompts in the screens it presents to install
Connector/Python in the location of your choosing.
This MSI is downloadable at http://dev.mysql.com/downloads/connector/python/. Choose the Connector/Python version appropriate for the Python version that is installed on your system.
Subsequent executions of the Connector/Python MSI permit you to either repair or remove the existing Connector/Python installation.
For EL6 or EL7-based platforms and Fedora 19 or 20, you can install the Connector/Python using the MySQL Yum repository. You must have the MySQL Yum repository on your system's repository list (see Adding the MySQL Yum Repository for details). Make sure your Yum repository setup is up-to-date by running:
sudo yum update mysql-community-release
You can then install Connector/Python by the following command:
sudo yum install mysql-connector-python
See Installing Additional MySQL Products and Components with Yum for more details.
A Linux RPM package is provided as a file with an
.rpm suffix, denoted here as
install a given RPM package, use this command:
RPM provides a feature to verify the integrity and authenticity of
packages before installing them. To learn more about this feature,
see Verifying Package Integrity Using MD5 Checksums or
Oracle provides Debian packages for installation on Debian or
Debian-like Linux systems. A Debian package is provided as a file
.deb suffix, denoted here as
install a given Debian package, use this command:
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices