#8585: InterfaceError with MySQLdb set_character_set
--------------------------------------+-------------------------------------
Reporter: khsing | Owner: nobody
Status: new | Milestone: 1.0
Component: Admin interface | Version: 1.0-beta-1
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by khsing):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
there are mysql client info, the client version is (3,23), but I compile
MySQLdb with MySQL 5.0.54
{{{CLIENT
<module 'MySQLdb.constants.CLIENT' from '/usr/lib64/python2.4/site-
packages/MySQLdb/constants/CLIENT.py'>
FIELD_TYPE
<module 'MySQLdb.constants.FIELD_TYPE' from '/usr/lib64/python2.4/site-
packages/MySQLdb/constants/FIELD_TYPE.py'>
WeakValueDictionary
<class weakref.WeakValueDictionary at 0x2aaab4b840b0>
_get_string_decoder
<function _get_string_decoder at 0xad590c8>
_get_string_literal
<function _get_string_literal at 0xae49cf8>
_get_unicode_literal
<function _get_unicode_literal at 0xad59050>
args
()
charset
'utf8'
client_flag
0
client_version
(3, 23)
}}}
* /usr/include/mysql/mysql_version.h
{{{
#define PROTOCOL_VERSION 10
#define MYSQL_SERVER_VERSION "5.0.45"
#define MYSQL_BASE_VERSION "mysqld-5.0"
}}}
* MySQLdb
{{{
>>> MySQLdb._mysql.get_client_info()
'5.0.45'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/8585#comment:1>
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
-~----------~----~----~----~------~----~------~--~---