Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread hg
> >> I’m setting up a django project that I got from a code repository, > > and > > > > in > > > > >> trying to run ./manage.py syncdb I get the following error: > > > > > >> django.core.exceptions.ImproperlyConfigured:

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Kejun He
me to look at my question. > > > > > >> I’m setting up a django project that I got from a code repository, > and > > > in > > > >> trying to run ./manage.py syncdb I get the following error: > > > > > >> django.core.exceptions.ImproperlyCon

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Cal Leeming
I got from a code repository, > and > > > in > > > >> trying to run ./manage.py syncdb I get the following error: > > > > > >> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb > > > module: > > > >> this i

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
I got from a code repository, > and > > > in > > > >> trying to run ./manage.py syncdb I get the following error: > > > > > >> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb > > > module: > > > >> this i

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread hg
ting up a django project that I got from a code repository, and > > in > > >> trying to run ./manage.py syncdb I get the following error: > > > >> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb > > module: > > >> this is M

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Kejun He
nk you for taking the time to look at my question. > >> > >> > >> > >> I’m setting up a django project that I got from a code repository, and > in > >> trying to run ./manage.py syncdb I get the following error: > >> > >> > >>

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
r: >> >> >> >> django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: >> this is MySQLdb version (1, 2, 3, 'final', 0), but _mysql is version (1, 2, >> 2, 'final', 0). > > Seems you mysqldb (the Python DB-API 2.0 compa

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-21 Thread Ramiro Morales
ncdb I get the following error: > > > > django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: > this is MySQLdb version (1, 2, 3, 'final', 0), but _mysql is version (1, 2, > 2, 'final', 0). Seems you mysqldb (the Python DB-API 2.0 compatible library to acc

FW: MySQLdb version doesn't match _mysql version

2011-08-21 Thread Hadassa Golovenshitz
is is MySQLdb version (1, 2, 3, 'final', 0), but _mysql is version (1, 2, 2, 'final', 0). I get the same error when running import MySQLdb at the python command line interpreter. Does anyone have any ideas? I've spent hours searching for similar posts, but no solu

Re: MySQLdb version

2007-04-03 Thread joey101
I did this all, but it still doens't work :( When running ./dispatch.fcgi directly it looks as though the problem is all cleared up, but even after killing fcgi 'till it's dead it still brings up a 500 error on my site. Does this sound like it's still related or is it some other problem? If it i

Re: MySQLdb version

2007-03-21 Thread Derek Hoy
On 3/21/07, worksology <[EMAIL PROTECTED]> wrote: > > I have the exact same issue, also with Dreamhost. I tried the > "mysql_old" thing, but still got the same error. Malcolm has just checked in a fix. this has saved My_old backend :) Derek --~--~-~--~~~---~--~--

Re: MySQLdb version

2007-03-21 Thread worksology
I'm guessing that the import statement in mysql_old/introspection.py should read: from django.db.backends.mysql_old.base import quote_name rather than: from django.db.backends.mysql.base import quote_name That seems to have worked for me, but probably should be fixed in the source, eh? - Josh

Re: MySQLdb version

2007-03-21 Thread worksology
I have the exact same issue, also with Dreamhost. I tried the "mysql_old" thing, but still got the same error. Here's the relevant part of the stack trace: File "/django_src/django/db/backends/mysql_old/introspection.py", line 1, in ? from django.db.backends.mysql.base import quote_name

Re: MySQLdb version

2007-03-21 Thread Michael Radziej
On Wed, Mar 21, Adam wrote: > > This causes a problem with DreamHost...I know they're not the best in > the world, but I get this error now on any sites on their servers. > Does anyone have a decent solution to get around this? Can I install > a local copy somehow and make django use it instead

Re: MySQLdb version

2007-03-21 Thread Adam
This causes a problem with DreamHost...I know they're not the best in the world, but I get this error now on any sites on their servers. Does anyone have a decent solution to get around this? Can I install a local copy somehow and make django use it instead of their version? Has anyone had luck g

Re: MySQLdb version

2007-03-20 Thread Andy Dustman
On 3/20/07, chasfs <[EMAIL PROTECTED]> wrote: > > Thanks for the quick reply! Do you know if Django has been tested > with MySQLdb > 1.2.2? Yes. 1.2.2 is the best version you can get. Trust me. > On Mar 20, 11:20 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > > On 3/20/07, chasfs <[EMAIL PROT

Re: MySQLdb version

2007-03-20 Thread chasfs
Thanks for the quick reply! Do you know if Django has been tested with MySQLdb 1.2.2? On Mar 20, 11:20 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 3/20/07, chasfs <[EMAIL PROTECTED]> wrote: > > > The problem is that the MySQLdb page says that 1.2.1p2 has no changes > > that we should wor

Re: MySQLdb version

2007-03-20 Thread James Bennett
On 3/20/07, chasfs <[EMAIL PROTECTED]> wrote: > The problem is that the MySQLdb page says that 1.2.1p2 has no changes > that we should worry about. Why is p2 required? Unfortunately, there is a change that we need to worry about: the thread-safety bug in MySQLdb which caused ticket #3279[1] wasn

MySQLdb version

2007-03-20 Thread chasfs
I just downloaded the latest trunk - it reports: ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "MySQLdb-1.2.1p2 or newer is required; you have 1.2.1g3" The problem is that the MySQLdb page says that 1.2.1p2 has no changes that we should worry about. Why is