Re: import of mysql in settings.py

2008-08-22 Thread Karen Tracey
On Thu, Aug 21, 2008 at 10:23 PM, Ian Holsman <[EMAIL PROTECTED]> wrote:

>
> Cortland Klein wrote:
> > I just had the same problem. It has something to do with MySQLdb not
> > being included.
> >
> >
>
> when it rain's it pours. I'm been hitting my head on the same problem.
> to verify that this is the case just replace 'mysql' with 'dummy' and
> you should be able to validate the problem is with the include.
>

FYI the vagueness of this error message was an unintentional side-effect of
some recent database backend changes.  As of the latest (8466) revision, the
previous more specific message that complains either that MySQLdb is too old
or not present at all has been restored.  You still need to install a recent
enough MySQLdb, but at least now the message again points to what the real
problem is.

Karen


> regards
> Ian
> > For me, I think it's because Mac OS X 10.5.4 doesn't have this python
> > thing installed. The documentation and tutorial should mention this,
> > IMO.
> >
> > http://code.djangoproject.com/ticket/5531#comment:12
> >
> > On Aug 21, 2008, at 2:52 PM, mpls wrote:
> >
> >
> >> I've edited the DATABASE_ENGINE = 'mysql' in settings.py along with
> >> specifying a database name and user account info. But I get the
> >> following error:
> >>
> >> ImportError: No module named mysql.base
> >>
> >> How can I fix this problem. Any help is appreciated.
> >>
> >
> >
>
>
> >
>

--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



Re: import of mysql in settings.py

2008-08-21 Thread Ian Holsman

Cortland Klein wrote:
> I just had the same problem. It has something to do with MySQLdb not  
> being included.
>
>   

when it rain's it pours. I'm been hitting my head on the same problem.
to verify that this is the case just replace 'mysql' with 'dummy' and 
you should be able to validate the problem is with the include.

regards
Ian
> For me, I think it's because Mac OS X 10.5.4 doesn't have this python  
> thing installed. The documentation and tutorial should mention this,  
> IMO.
>
> http://code.djangoproject.com/ticket/5531#comment:12
>
> On Aug 21, 2008, at 2:52 PM, mpls wrote:
>
>   
>> I've edited the DATABASE_ENGINE = 'mysql' in settings.py along with
>> specifying a database name and user account info. But I get the
>> following error:
>>
>> ImportError: No module named mysql.base
>>
>> How can I fix this problem. Any help is appreciated.
>> 
>
>   


--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



Re: import of mysql in settings.py

2008-08-21 Thread Cortland Klein

I just had the same problem. It has something to do with MySQLdb not  
being included.

For me, I think it's because Mac OS X 10.5.4 doesn't have this python  
thing installed. The documentation and tutorial should mention this,  
IMO.

http://code.djangoproject.com/ticket/5531#comment:12

On Aug 21, 2008, at 2:52 PM, mpls wrote:

> I've edited the DATABASE_ENGINE = 'mysql' in settings.py along with
> specifying a database name and user account info. But I get the
> following error:
>
> ImportError: No module named mysql.base
>
> How can I fix this problem. Any help is appreciated.

-- 
Cortland Klein <[EMAIL PROTECTED]> +1 408 506 9791
http://pixelcort.com/
529 Water Witch Way
San Jose, CA, USA

Alumni, Business Management <[EMAIL PROTECTED]>
San José State University

Alumni Technical Advisor, Entrepreneurial Society <[EMAIL PROTECTED] 
 >
http://e-society.org/

Q Techie, Silicon Valley Mac User Group
http://svmug.org/







--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---