$ mycli-help Usage: mycli OPTIONS DATABASE A MySQL terminal client with auto-completion and syntax highlighting. Examples:-mycli mydatabase-mycli-u myuser-h myhost. Com mydatabase-mycli mysql: // myuser @myhost. Com: 3306 / mydatabase Options:-h,-host TEXT Host address of the database.-P,-port INTEGER Port number to use for. Setting up database connections. On MacOS and Linux, there are two separate text files that need to be edited. UnixODBC includes a command-line executable called odbcinst, which can be used to query and modify the DSN files. Python downloads are located here (you will need to create a free MySQL login to download first). Make sure you choose the correct version, i.e. (python2.1.7 vs. Only the 'Architecture Independent' version worked for me. Setting up database connections. On MacOS and Linux, there are two separate text files that need to be edited. UnixODBC includes a command-line executable called odbcinst, which can be used to query and modify the DSN files.
Latest versionReleased:
Python interface to MySQL
Project description
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.
Support
Do Not use Github Issue Tracker to ask help. OSS Maintainer is not free tech support
When your question looks relating to Python rather than MySQL:
- Python mailing list python-list
- Slack pythondev.slack.com
Or when you have question about MySQL:
Install
Windows
Building mysqlclient on Windows is very hard.But there are some binary wheels you can install easily.

macOS (Homebrew)
Sonos desktop controller pour mac. Install MySQL and mysqlclient:
If you don't want to install MySQL server, you can use mysql-client instead:
Linux

Note that this is a basic step. I can not support complete step for build for allenvironment. If you can see some error, you should fix it by yourself, or ask forsupport in some user forum. Don't file a issue on the issue tracker.

You may need to install the Python 3 and MySQL development headers and libraries like so:
$ sudo apt-get install python3-dev default-libmysqlclient-dev build-essential
# Debian / Ubuntu% sudo yum install python3-devel mysql-devel
# Red Hat / CentOS
Then you can install mysqlclient via pip now:
Customize build (POSIX)
mysqlclient uses mysql_config
or mariadb_config
by default for findingcompiler/linker flags.
Open Source Development. Documentation and resources for Bonjour, Java, UNIX, and WebKit. Open development of select macOS projects Tools and Technologies. Why you'll love to develop on your Mac Open Source in macOS. Learn about the 200+ open source projects that ship with macOS Darwin Technologies. OS X 10.14 Amazon Linux Enterprise Search 7.7 Enterprise Search 7.8. Red Hat OpenShift 3.11 / 4.x+ Google Kubernetes Engine 1.12+ Amazon Kubernetes Service. OpenSUSE 11.4 / 12.1 / 12.2 i386 AMD64 SUSE Linux Enterprise Server 11 (SLES11) i386 AMD64 SUSE Linux Enterprise Server 10 (SLES10) i386 AMD64. RHEL 6.10 RHEL 7.X: SUSE Enterprise 11.4 SUSE Enterprise 12.2 SUSE Enterprise 12.3 SUSE Enterprise 12.4: CentOS 6.9 CentOS 7.3 CentOS 7.4 CentOS 6.5 CentOS 6.6 CentOS 7.1 Ubuntu 16.04 Ubuntu 17.10 Ubuntu 18.04 LTS -ESC8000 G4: 1st and 2nd Gen Intel® Xeon® Processor Scalable Family: C621: Windows Server 2019 Windows Server 2016 Windows Server. OS X 10.11.4 El Capitan (15E65) 74329539 346.03.05f02 OS X 10.11.3 El Capitan (15D21) 72678851 346.03.04f02 OS X 10.11.2 El Capitan (15C50) 72277456.
You can use MYSQLCLIENT_CFLAGS
and MYSQLCLIENT_LDFLAGS
environmentvariables to customize compiler/linker options.

Documentation
Documentation is hosted on Read The Docs
Release historyRelease notifications | RSS feed
2.0.3
2.0.2
2.0.1
2.0.0
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2.post1
1.4.2
1.4.1
1.4.0
1.4.0rc3 pre-release
1.4.0rc2 pre-release
1.4.0rc1 pre-release
1.3.14
1.3.13
1.3.12
1.3.11
1.3.11rc1 pre-release
1.3.10
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
Brew Mysql Version Free
Download files
Brew Install Mysql Version
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Brew Mysql Version Download
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size mysqlclient-2.0.3-cp36-cp36m-win_amd64.whl (179.0 kB) | File type Wheel | Python version cp36 | Upload date | Hashes |
Filename, size mysqlclient-2.0.3-cp37-cp37m-win_amd64.whl (179.0 kB) | File type Wheel | Python version cp37 | Upload date | Hashes |
Filename, size mysqlclient-2.0.3-cp38-cp38-win_amd64.whl (179.4 kB) | File type Wheel | Python version cp38 | Upload date | Hashes |
Filename, size mysqlclient-2.0.3-cp39-cp39-win_amd64.whl (179.4 kB) | File type Wheel | Python version cp39 | Upload date | Hashes |
Filename, size mysqlclient-2.0.3.tar.gz (88.9 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for mysqlclient-2.0.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest |
---|---|
SHA256 | 3381ca1a4f37ff1155fcfde20836b46416d66531add8843f6aa6d968982731c3 |
MD5 | 9614ec630b00470851d4af1da4d0d0ef |
BLAKE2-256 | 2c3cbd285daffea87cb0d1e33a25c78e155a8e6c551419f38a7636c9de136eed |
Hashes for mysqlclient-2.0.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest |
---|---|
SHA256 | 0ac0dd759c4ca02c35a9fedc24bc982cf75171651e8187c2495ec957a87dfff7 |
MD5 | 04f767412b0d2a66ece0226204d3100c |
BLAKE2-256 | 6b06a486f3795cf39883815eacec56d00a8fb0e6e46226af5cdfa24ffb3d43ec |
Hashes for mysqlclient-2.0.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest |
---|---|
SHA256 | 71c4b330cf2313bbda0307fc858cc9055e64493ba9bf28454d25cf8b3ee8d7f5 |
MD5 | 3230a16ee5379b4a31763be526cf4614 |
BLAKE2-256 | f4f4916fb5ae7ec4438437060638d3e17aea6ba00614cf6a75905e2632c86b2b |
Hashes for mysqlclient-2.0.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest |
---|---|
SHA256 | fc575093cf81b6605bed84653e48b277318b880dc9becf42dd47fa11ffd3e2b6 |
MD5 | 9ee9582f2bc0e984bc244363606d890c |
BLAKE2-256 | 63151934083acfecfee06b7ddf048d9df6b59b2bf7f452cfac38ea54f738c5a4 |
Hashes for mysqlclient-2.0.3.tar.gz

Algorithm | Hash digest |
---|---|
SHA256 | f6ebea7c008f155baeefe16c56cd3ee6239f7a5a9ae42396c2f1860f08a7c432 |
MD5 | c1f213c1f5dd7b3490f1657957b60ef0 |
BLAKE2-256 | 3cdf59cd2fa5e48d0804d213bdcb1acb4d08c403b61c7ff7ed4dd4a6a2deb3f7 |
