Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73544

Re: What is the state of MySQL support for Python 3?

References <6805ae6c-b3da-4ed7-94b5-e0dc370c545a@googlegroups.com>
From INADA Naoki <songofacandy@gmail.com>
Date 2014-06-24 22:13 +0900
Subject Re: What is the state of MySQL support for Python 3?
Newsgroups comp.lang.python
Message-ID <mailman.11217.1403615798.18130.python-list@python.org> (permalink)

Show all headers | View raw


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@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@gmail.com>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

What is the state of MySQL support for Python 3? haizaar@gmail.com - 2014-06-24 01:21 -0700
  Re: What is the state of MySQL support for Python 3? Bernd Nawothnig <Bernd.Nawothnig@t-online.de> - 2014-06-24 11:43 +0200
  Re: What is the state of MySQL support for Python 3? Chris Angelico <rosuav@gmail.com> - 2014-06-24 19:48 +1000
    Re: What is the state of MySQL support for Python 3? haizaar@gmail.com - 2014-06-24 03:41 -0700
  Re: What is the state of MySQL support for Python 3? INADA Naoki <songofacandy@gmail.com> - 2014-06-24 22:13 +0900
  Re: What is the state of MySQL support for Python 3? Egon Frerich <egon@frerich.eu> - 2014-06-27 14:04 +0200

csiph-web