Hi, folks.

I believe most popular MySQL driver for Python is MySQL-python (MySQLdb).
http://py3readiness.org/ shows MySQL-python is the 4th popular package that 
does not support Python 3.

I've forked MySQL-python because I want to move Python 3 completely ASAP.

https://pypi.python.org/pypi/mysqlclient
https://github.com/PyMySQL/mysqlclient-python


https://docs.djangoproject.com/en/dev/ref/databases/#mysql-db-api-drivers
references MySQL-for-Python3 as Python 3 port but it doesn't support binary 
and
it has not maintained for a long time.

So I propose replacing MySQL-for-Python3 with my fork.


MySQL-Connector/Python 1.2.2 (GA) has been released recently (not updated 
PyPI, but you
can download it from http://dev.mysql.com/downloads/connector/python/ ). It 
also support
Python 3 and Django.
One option for moving to Python 3 is recommend MySQL Connector/Python and 
doesn't
support MySQL-python nor mysqlclient.

https://code.djangoproject.com/ticket/12500
https://code.djangoproject.com/ticket/22732

But parsing MySQL packets with pure CPython is slow. Quick benchmark shows
MySQL Connector/Python is 5x slower than mysqlclient.

https://gist.github.com/methane/90ec97dda7fa9c7c4ef1

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/e4c85c41-1a4b-42e5-8673-39e19bbc6d79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to