Skip to main content

mysqlclient

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.

Install

Prerequisites

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

  • sudo apt-get install python-dev default-libmysqlclient-dev # Debian / Ubuntu
  • sudo yum install python-devel mysql-devel # Red Hat / CentOS
  • brew install mysql-client # macOS (Homebrew)

On Windows, there are binary wheels 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 setup.py install

Documentation

Documentation is hosted on Read The Docs

Release files for mysqlclient 1.4.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mysqlclient 1.4.6
File Size Uploaded
mysqlclient-1.4.6.tar.gz 85.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for mysqlclient 1.4.6
File Interpreter ABI Platform
mysqlclient-1.4.6-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
mysqlclient-1.4.6-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
mysqlclient-1.4.6-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details

Total release size: 797.4 kB

Release files / mysqlclient-1.4.6.tar.gz

Download URL mysqlclient-1.4.6.tar.gz
Size 85.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f3fdaa9a38752a3b214a6fe79d7cae3653731a53e577821f9187e67cbecb2e16
BLAKE2b-256 checksum
How to use checksums
d0977326248ac8d5049968bf4ec708a5d3d4806e412a42e74160d7f266a3e03a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Release files / mysqlclient-1.4.6-cp38-cp38-win_amd64.whl

Download URL mysqlclient-1.4.6-cp38-cp38-win_amd64.whl
Size 263.1 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
f646f8d17d02be0872291f258cce3813497bc7888cd4712a577fd1e719b2f213
BLAKE2b-256 checksum
How to use checksums
a8c42c4befb6f78f7b05ad4b1ea725a878738c7908285730838c5e6925eabf89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Release files / mysqlclient-1.4.6-cp37-cp37m-win_amd64.whl

Download URL mysqlclient-1.4.6-cp37-cp37m-win_amd64.whl
Size 263.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
9e6080a7aee4cc6a06b58b59239f20f1d259c1d2fddf68ddeed242d2311c7087
BLAKE2b-256 checksum
How to use checksums
5db3a753b836eab49c865651eb2bc7203d070c58e5f22b33015b48fa6112bd7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Release files / mysqlclient-1.4.6-cp36-cp36m-win_amd64.whl

Download URL mysqlclient-1.4.6-cp36-cp36m-win_amd64.whl
Size 185.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
4c82187dd6ab3607150fbb1fa5ef4643118f3da122b8ba31c3149ddd9cf0cb39
BLAKE2b-256 checksum
How to use checksums
96da6bc460ef7a6df3d417914f17232259a4c869e63a3809d138ae786d7cf639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

Release history Release notifications | RSS feed

2.3.0

17 release files

2.2.8

7 release files

2.2.7

8 release files

2.2.6

8 release files

2.2.5

8 release files

2.2.4

9 release files

2.2.3

9 release files

2.2.2

9 release files

2.2.1

9 release files

2.2.0

7 release files

2.1.1

7 release files

2.1.0

5 release files

2.0.3

5 release files

2.0.2

5 release files

2.0.1

4 release files

2.0.0

4 release files

This release

1.4.6 This release

4 release files

1.4.5

3 release files

1.4.4

3 release files

1.4.3

1 release file

1.4.2

1 release file

1.4.1

3 release files

1.4.0

3 release files

1.3.13

1 release file

1.3.10

5 release files

1.3.9

3 release files

1.3.8

1 release file

1.3.7

3 release files

1.3.6

5 release files

1.3.5

1 release file

1.3.4

5 release files

1.3.3

5 release files

1.3.2

1 release file

1.3.1

5 release files

1.3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page