What is the state of MySQL support for Python 3?

Egon Frerich egon at frerich.eu
Fri Jun 27 08:04:47 EDT 2014


Am 24.06.2014 10:21, schrieb haizaar at gmail.com:
> Good day,
> 
> I'm starting a new project from scratch so I think its finally a time to switch to the latest and greatest Python 3.4.
> 
> But I'm puzzled with MySQL support for Python 3. So far the only stable library I've found it pymysql.
> 
> All others are either abandoned work-in-progress projects or do not support Python 3:
>   * mysqldb - Python 2.x only
>   * mysql-ctypes - Python 2.x only
>   * amysql - Python 2.x only
>   * ultramysql - Python 2.x only
>   * MySQL Connector/Python - new guy in block. Does anyone use it?
>   * WebScaleSQL + MySQLdb1 [1] - still in development, state unknown?
>   * etc...
> 
> So what library do you use for MySQL access in Python 3?
> I'm specifically interested in async support (like in psycopg2 for PostgreSQL) since I'm planning to use Tornado.
> 
> Thanks,
> Zaar
> 
> [1] https://github.com/farcepest/MySQLdb1 
>     https://code.facebook.com/posts/1474977139392436/webscalesql-a-collaboration-to-build-upon-the-mysql-upstream/
>     http://www.percona.com/live/mysql-conference-2014/sessions/asynchronous-mysql-how-facebook-queries-databases
> 

I have installed:

Metadata-Version: 1.1
Name: MySQL-python
Version: 1.2.3
Summary: Python interface to MySQL
Home-page: http://sourceforge.net/projects/mysql-python
Author: Andy Dustman
Author-email: adustman at users.sourceforge.net
License: GPL
Download-URL:
http://osdn.dl.sourceforge.net/sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz

E.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2385 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20140627/592b66b3/attachment.bin>


More information about the Python-list mailing list