#20025: Do something for MySQL under Python 3
---------------------------------+------------------------------------
     Reporter:  aaugustin        |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Python 3         |                  Version:  master
     Severity:  Release blocker  |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------

Comment (by sleroux):

 At this time, the official MYSQLdb development has stalled.

 There are several forks available on git-hub in order to port that library
 for Python 3:
 * https://github.com/davispuh/MySQL-for-Python-3
 * https://github.com/clelland/MySQL-for-Python-3
 * ...

 '''At first sight''', those ports seem to work with django-1.6 (master
 dev) -- with the minor modification of removing the ''use_unicode''
 connection param. This modification was already available there:
 
https://github.com/vsajip/django/blob/django3/django/db/backends/mysql/base.py#L386
 '''however''' some sources state that there is a ''bunch of issues [...]
 in non-ascii environment'':
 http://python.6.n6.nabble.com/MySQL-
 Django-1-6-Python3-tt5009591.html#a5009904

 As of myself, I've done some (very basic) preliminary tests using clelland
 /MySQL-for-Python-3 alone: Inserting and retrieving data containing non-
 ASCII characters (é, à, ç, è) appears to work. By examining the output of
 mysqldump, strings have been correctly encoded at DB level. I performed my
 tests using both utf8 and latin1 as DB charset. Maybe there is some
 problems with the integration of both "Django 1.6" and "MySQL for Python
 3"?

 So, if someone could post here some data/link to the possible issues with
 MySQL-for-Python-3 & Django, that would help things in order ''not'' to
 drop MySQL support in Python 3 environment.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20025#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to