On 04/07/14 16:11, Zemian Deng wrote:
Well, I assume you're using python3 like I am. That's the only reason I tried mysql connector/python. If you're using python2 you could use the mysqldb adapter built into django which is very solid but isn't python3-compatible yet. But in any case all of the python database adapters when used with django require a django backend module. For most of the adapters the backend seems to be provided by the django project but with mysql connector/python it's provided by Oracle. You're right that In normal python usage mysql connector/python doesn't have the problem we're discussing (I also verified that), so the problem seems to be in just this Oracle-provided backend module and in that sense it is django-specific but not the django project's fault. I see in the django 1.7 doc that mysql connector/python is mentioned, so perhaps the django project will take a closer look at the backend. And perhaps mysqldb will be released for python3 soon. -- 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+unsubscr...@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/53B6BE58.7050606%40gmail.com. For more options, visit https://groups.google.com/d/optout. |
- Mysql connections after started django app Zemian Deng
- Re: Mysql connections after started django ap... cercatrova2
- Re: Mysql connections after started djang... Zemian Deng
- Re: Mysql connections after started d... cercatrova2
- Re: Mysql connections after start... François Schiettecatte
- Re: Mysql connections after ... Zemian Deng
- Re: Mysql connections af... François Schiettecatte
- Re: Mysql connection... Zemian Deng
- Re: Mysql connections after start... Zemian Deng