mysqlclient-python 0,0 travis-ci python

MySQL database connector for Python (with Python 3 support)


Build Status

This is a fork of MySQLdb1.

This project adds Python 3 support and bug fixes. I hope this fork is merged back to MySQLdb1 like distribute was merged back to setuptools.



You may need to install the Python and MySQL development headers and libraries like so:

sudo apt-get install python-dev libmysqlclient-dev # Debian / Ubuntu

sudo yum install python-devel mysql-devel # Red Hat / CentOS

On Windows, there are binary wheel you can install without MySQLConnector/C or MSVC.

Note on Python 3 : if you are using python3 then you need to install python3-dev using the following command :

sudo apt-get install python3-dev # debian / Ubuntu

sudo yum install python3-devel # Red Hat / CentOS

Install from PyPI

pip install mysqlclient

NOTE: Wheels for Windows may be not released with source package. You should pin version in your requirements.txt to avoid trying to install newest source package.

Install from source

  1. Download source by git clone or zipfile.
  2. Customize site.cfg
  3. python install


Documentation is hosted on Read The Docs

Related Repositories



MySQL database connector for Python (with Python 3 support) ...

Top Contributors

methane farcepest tiwilliam msabramo graingert emonty scop tyzhnenko evax gbandet phispi adamchainz vtermanis jeansch okin frewsxcv chipturner collinanderson MahdiZareie mmontagna pilou- tseaver woojing angieellis jinto


-   MySQLdb-1.2.5 zip tar
-   MySQLdb-1.2.4 zip tar
-   MySQLdb-1.2.4c1 zip tar
-   MySQLdb-1.2.4b5 zip tar
-   MySQLdb-1.2.4b4 zip tar
-   MySQLdb-1.2.4b3 zip tar
-   MySQLdb-1.2.4b2 zip tar
-   MySQLdb-1.2.4b1 zip tar
-   MySQLdb-1.2.3 zip tar
-   MySQLdb-1.2.3c1 zip tar
-   MySQLdb-1.2.3b1 zip tar
-   MySQLdb-1.2.2 zip tar
-   MySQLdb-1.2.2c1 zip tar
-   MySQLdb-1.2.2b3 zip tar
-   MySQLdb-1.2.2b2 zip tar
-   MySQLdb-1.2.2b1 zip tar
-   MySQLdb-1.2.1 zip tar
-   MySQLdb-1.2.1_p2 zip tar
-   MySQLdb-1.2.1c8 zip tar
-   MySQLdb-1.2.1c7 zip tar
-   MySQLdb-1.2.1c6 zip tar
-   MySQLdb-1.2.1c5 zip tar
-   MySQLdb-1.2.1c1 zip tar
-   MySQLdb-1.1.10 zip tar
-   MySQLdb-1.1.9 zip tar
-   MySQLdb-1.1.8 zip tar
-   MySQLdb-1.1.7 zip tar
-   MySQLdb-1.1.6 zip tar
-   MySQLdb-1.1.5 zip tar
-   MySQLdb-1.1.4 zip tar