What is the state of MySQL support for Python 3?

INADA Naoki songofacandy at gmail.com
Tue Jun 24 09:13:11 EDT 2014


Hi.

PyMySQL -- pure Python MySQL connector. Supports Python 3.3~.
mysqlclient -- Fork of MySQLdb. Supports Python 3.3~.

On Tue, Jun 24, 2014 at 5:21 PM,  <haizaar at gmail.com> wrote:
> 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
>
> --
> https://mail.python.org/mailman/listinfo/python-list



-- 
INADA Naoki  <songofacandy at gmail.com>



More information about the Python-list mailing list