#4179: MySQL backend has MySQL-4.0 incompatbiility
---------------------------+------------------------------------------------
Reporter: mtredinnick | Owner: nobody
Status: new | Component: Database wrapper
Version: SVN | Resolution:
Keywords: | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------+------------------------------------------------
Changes (by Yves Junqueira <[EMAIL PROTECTED]>):
* cc: [EMAIL PROTECTED] (added)
Comment:
An ugly workaround for this issue would be to just comment out the
kwargs['charset'] setting in django/db/backends/mysql/base.py:
{{{
kwargs = {
'conv': django_conversions,
# 'charset': 'utf8',
'use_unicode': False,
}
}}}
In my case, this is the 83rd line in /usr/lib/python2.3/site-
packages/django/db/backends/mysql/base.py
I'm not sure if this may cause charset troubles in your application and I
have not tested it extensively with non-ASCII charsets. And of course,
this is not a proper fix, it's just a workaround if you are having
problems with MySQL 4.0 and Django.
--
Ticket URL: <http://code.djangoproject.com/ticket/4179#comment:8>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---