What is the state of MySQL support for Python 3?

Bernd Nawothnig Bernd.Nawothnig at t-online.de
Tue Jun 24 05:43:55 EDT 2014


On 2014-06-24, haizaar at gmail.com wrote:
> 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?

Yes. It comes directly from MySQL and is written in pure Python. For
that it may not be the fastest solution but it works.

Tested with Python 3.2




Bernd

-- 
no time toulouse



More information about the Python-list mailing list