django cannot connect to mysql after upgrade

2006-08-21 Thread zhongke chen
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"

Re: django cannot connect to mysql after upgrade

2006-08-22 Thread Spike^ekipS
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

Re: django cannot connect to mysql after upgrade

2006-08-22 Thread zhongke chen
There is no MySQLdb-python package in my system. There is a package named python-mysqldb. I reinstalled it and the problem is still the same. My system is debian etch, python-mysqldb is 1.2.1, python 2.3 or 2.4(both have the same problem), django 0.95 or svn(both the same). On 8/22/06, Spike^ek

Re: django cannot connect to mysql after upgrade

2006-08-22 Thread garaged
I thinks its a problem on mysql-client package, I haven't made any testing with other packages, but probably there are others broken too. Hopefully will be corrected soon :) Max -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GS/S d- s: a-29 C++(+++) ULAHI+++ P+ L++>+++ E--- W++ N* o-- K- w++

Re: django cannot connect to mysql after upgrade

2006-08-22 Thread Baczek
Just wanted to add that I got hit by that too, just now. Hoping for a quick fix here or in django... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

Re: django cannot connect to mysql after upgrade

2006-08-23 Thread garaged
On 8/22/06, Baczek <[EMAIL PROTECTED]> wrote: > > Just wanted to add that I got hit by that too, just now. Hoping for a > quick fix here or in django... http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383603 python-mysqldb_1.2.1-p2-3_i386.deb <-- Corrects the problem Max -- -BEGIN GEEK CO

Re: django cannot connect to mysql after upgrade

2006-08-24 Thread Baczek
Thanks. Got around that by uninstalling distro's mysqldb and easy_installing one. Now I got hit by 1093 You can't specify target table 'foobar' for update in FROM clause The cause seems to be a query of form such as UPDATE t1 SET column2 = (SELECT MAX(column1) FROM t1); This seems to be a 'bug'

Re: django cannot connect to mysql after upgrade

2006-08-31 Thread Andy Dustman
MySQL-5.0.24 accidentally introduced an ABI-incompatibilty, which caused the "Commands out of sync" error; MySQL-5.0.24a fixes this. -- This message has been scanned for memes and dangerous content by MindScanner, and is believed to be unclean. --~--~-~--~~~---~--~--