MySQL
- URL
- license
- GPLv2
- platforms
- Unix, win32, win64, MacOS X, i5/OS
Pros
- Easy to install and administer
- Support for many SQL Features (v5.0 and up):
- Good compliance with SQL standards
- Foreign Keys (using InnoDB)
- Stored Routines
- Views
- Triggers
- Subqueries (as of v4.1)
- Partitioning (as of v5.1)
- ACID compliant (InnoDB and NDB storage engines)
- Character set support
- Built-in Replication
- Many administration tools from third parties
- Widely deployed
- Regarded as being fast
- Modular storage engines and interesting clustering features
Cons
Early versions (v4.1 and earlier) have the reputation for only basic SQL support (entry-level SQL 92) and deviations from the standards. Many interesting features (views, triggers,..) are included in the latest version (5 and above), but are missing in prior versions. Check gotchas for MySQL v4.1 and earlier.
DB API 2.0 Drivers
MySQL for Python
- URL
MySQL on-line documentation, additional forums (maintainer does not currently read these)
mysqlclient
mysqlclient is a fork of MySQL-python. It adds Python 3 support and fixed many bugs. It is the MySQL library that is recommended by the Django documentation.
PyMySQL
- URL
- License
- MIT
- Platforms
OS Independent, CPython 2.x and 3.x, PyPy, Jython, IronPython
- Python versions
- 2.4 - 3.2
- PyPI
- Pure-Python focused on simplicity and compatibility
- Virtually 100% compatible with MySQLdb
- Good performance
mxODBC
mxODBC is compatible with the MySQL ODBC driver on Windows and Unix.
pyodbc
Actively maintained Open Source project.
Precompiled binaries are available for Windows. Red Hat Enterprise Linux, Centos, and Fedora have precompiled RPMs available in their Extras repositories.
MySQL Connector/Python
- URL
- PyPI
- ??
- Implements the Python DB API 2.0 (PEP 249).
- Pure Python implementation of the MySQL protocol.
- Actively developed and maintained by Oracle.
- Includes Django database backend.
mypysql
- URL
- License
- GNU GPL v3+
- Platforms
- Any (presumably)
- Python versions
- 3
- PyPI
- ??
- This module provides (yet) incomplete PEP 249 functionality
- C implementation of MySQL database connector
- A majority of the commands are implemented
- Still experimental but actively developed
PyPyODBC (Pure Python ODBC)
- URL
One pure Python script, runs on CPython / IronPython / PyPy , Version 3.3 / 3.2 / 3.1 / 2.4 / 2.5 / 2.6 / 2.7 , Win / Linux , 32 / 64 bit.
Similar usage as pyodbc ( can be seen as a re-implementation of pyodbc in pure Python ).
Simple - the whole module is implemented in a single python script with less than 3000 lines.
mxODBC Connect
- URL
mxODBC Connect Server is compatible with the MySQL ODBC drivers.
Supported Python Applications