Monday, November 3, 2014

Re: django1.7, python3.4 and MySQL


2014-11-03 16:54 GMT+01:00 Larry Martell <larry.martell@gmail.com>:
So it seems MySQLdb doesn't support python3, and I see this on the django site:

mysqlclient is a fork of MySQLdb which notably supports Python 3 and
can be used as a drop-in replacement for MySQLdb. At the time of this
writing, this is the recommended choice for using MySQL with Django.

mysqlclient

Django requires mysqlclient 1.3.3 or later. Note that Python 3.2 is
not supported. Except for the Python 3.3+ support, mysqlclient should
mostly behave the same as MySQLDB.

So does this mean that mysqlclient does support python3.4?

And how can I download a debian package for that?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY6%2BwA6EQK5uk8NmFiVjqYnZR%3DYoWKdum0AMrZdfUm%3DaDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

We are working with mysql's own python client, which you can download and find at http://dev.mysql.com/downloads/connector/python/.

You should probably use a virtual environment instead of installing it into the debian system and using it as default.

Regards,

Andréas

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALXYUbku3_7wff-U7swd6319TZ-%3DJBENMgCiMoWXWg3p825gkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment