In ubuntu, you'll need to install mysqldb package for python:

sudo apt-get install python-mysqldb

test by entering python interactive mode and importing the package
without errors:

$ python
$ import MySQLdb

case matters.

On Mar 10, 5:09 am, Karen Tracey <[email protected]> wrote:
> On Tue, Mar 10, 2009 at 1:54 AM, kk <[email protected]> wrote:
>
> > Hi Karen,
>
> >  I'm having the same problem as ches and brita had. I downloaded the
> > link that you have given, but I'm unable to run as it is an
> > application. If you can guide me where to store that application and
> > how to run that, I will be glad. Also, for the DATABASEHOST in
> > settings do we need to give the path of mysql in our computer or can
> > we just mention localhost. Please, reply.
>
> I'm not sure what exactly you downloaded that you cannot run as an
> application.  The page I pointed to has five files for download: two are
> .egg files, one tar.gz, and two .exe.  You want to download the .exe that
> matches the level of Python you are running, so if you are running Python
> 2.5 you want to get MySQL-python-1.2.2.win32-py2.5.exe, alternatively if you
> are running Python 2.4 you want to get the one with py2.4 in its name.  Once
> you download it (put it anywhere you like) you run it once to install and
> all the needed files are copied to the Python installation tree.  You can
> then delete the file you downloaded.
>
> As for the DATABASE_HOST setting, you can just leave it blank or set it to
> 'localhost'.
>
> Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to