yesterday, i upgraded my local mysql server to 5.7.9 (mysql Ver 14.14 Distrib 5.7.9, for osx10.11 (x86_64) using EditLine wrapper), and
found i can not make my app run anymore, find this error, is there some one else get this error before?
MySQL-python==1.2.5
Django==1.8.6
File "/Users/pengfei/Code/gengmei/.gaia/lib/python2.7/site-packages/django/db/backends/base/base.py", line 462, in temporary_connection
cursor = self.cursor()
File "/Users/pengfei/Code/gengmei/.gaia/lib/python2.7/site-packages/django/db/backends/base/base.py", line 162, in cursor
cursor = self.make_debug_cursor(self._cursor())
File "/Users/pengfei/Code/gengmei/.gaia/lib/python2.7/site-packages/django/db/backends/base/base.py", line 135, in _cursor
self.ensure_connection()
File "/Users/pengfei/Code/gengmei/.gaia/lib/python2.7/site-packages/django/db/backends/base/base.py", line 130, in ensure_connection
self.connect()
File "/Users/pengfei/Code/gengmei/.gaia/lib/python2.7/site-packages/django/db/backends/base/base.py", line 119, in connect
self.connection = self.get_new_connection(conn_params)
File "/Users/pengfei/Code/gengmei/.gaia/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 276, in get_new_connection
conn = Database.connect(**conn_params)
File "/Users/pengfei/Code/gengmei/.gaia/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/Users/pengfei/Code/gengmei/.gaia/lib/python2.7/site-packages/MySQLdb/connections.py", line 221, in __init__
self.set_character_set(charset)
File "/Users/pengfei/Code/gengmei/.gaia/lib/python2.7/site-packages/MySQLdb/connections.py", line 312, in set_character_set
super(Connection, self).set_character_set(charset)
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/8f969a56-a601-4a41-aacc-3cb55cdbc6a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment