After much effort, things have progressed to my trying 'python
load_data.py'
I get an error:
"Can't connect to local MySQL server through socket /var/lib/mysql/
mysql.sock"

Thinking that the default setting of DATABASE_HOST = "" might be
wrong, I asked the host (OCSSolutions) where their database host was -
they replied localhost or /tmp/myql.sock (!do linuxers really put
important stuff in a directory called 'temporary'?)

local host produced the same result.
/tmp/mysql.sock produced "Unknown MySQL server host '/tmp/mysql.sock'

Told host; they replied that mysql.sock was there - must be a problem
with my settings.

Now What?
Karl



On Jan 6, 2:43 am, Brett Parker <[EMAIL PROTECTED]> wrote:
> On 06 Jan 00:38, kbochert wrote:
>
> <snip class="introductoryStuff" />
>
>
>
> > I get:
>
> > --sys_path--
> > ['/home/ktb/py', (...) , '/opt/python/lib/python2.5/site-packages']
> > ...
> > ImportError: No module named django.core.servers.fastcgi
>
> > If I do:
> > ls /home/ktb/py/django/core/servers
>
> > I see the file fastcgi.py (among a few others), so I have installed
> > Django where I think.
>
> > So if 'ls' can see the file, why can't Python???
> > What obvious little detail am I missing?
>
> At a guess I'd say that you're going to use /home/ktb/py as a holding
> place for python libraries... I'll also hazard a guess that it's not
> holding much other than the django directory at the moment. Try doing:
>  cd /home/ktb/py
>  touch __init__.py
>
> and then try again.
>
> Cheers,
> --
> Brett Parker
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to