Hi, chen.
I got the same problems after updating my system.
Just re-install MySQLdb-python modules.


zhongke chen wrote:
> After upgrade mysql from 5.0.22 to 5.0.24, django cannot work with
> mysql. The error messages as following:
> Traceback (most recent call last):
>   File "./manage.py", line 11, in ?
>     execute_manager(settings)
>   File 
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/management.py",
> line 1343, in execute_manager
>     execute_from_command_line(action_mapping, argv)
>   File 
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/management.py",
> line 1260, in execute_from_command_line
>     action_mapping[action]()
>   File 
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/core/management.py",
> line 448, in syncdb
>     cursor = connection.cursor()
>   File 
> "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/db/backends/mysql/base.py",
> line 90, in cursor
>     self.connection = Database.connect(**kwargs)
>   File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line
> 75, in Connect
>     return Connection(*args, **kwargs)
>   File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line
> 207, in __init__
>     self.autocommit(False)
> _mysql_exceptions.ProgrammingError: (2014, "Commands out of sync; you
> can't run this command now")
>
>
> --
> from czk.
> My old mail boxes([EMAIL PROTECTED], [EMAIL PROTECTED]) have been
> deprecated. Please contact with me using the following email address
> from now on: [EMAIL PROTECTED]
> If you want to attach word/excel/powerpoint files for me, please
> convert them to pdf. because i have no money to buy ms-office.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to