Andy Dustman wrote: > On 3/28/06, abe <[EMAIL PROTECTED]> wrote: > > > OperationalError: (2002, "Can't connect to local MySQL server through > > socket '/var/lib/mysql/mysql.sock' (13)") > > This indicates your MySQL server isn't running, I think it is, since the admin site works fine if I use manage.py runserver , doesn't it also use the server?
%myproject]# ps -eadf|grep sql root 18240 18044 0 12:32 pts/2 00:00:00 /bin/sh /usr/bin/mysqld_safe mysql 18268 18240 0 12:32 pts/2 00:00:00 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --socket=/var/lib/mysql/mysql.sock unless 'MYSQL server' means somthing different from mysqld ?? > and you are using DATABASE_HOST="localhost". well I use ='', but that should be the same but isn't that correct, since mysqld runs on the same host as django? thanks, e- > -- > The Pythonic Principle: Python works the way it does > because if it didn't, it wouldn't be Python. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---