Re: how to set mysql socket path for 'python manage.py syncdb' command

2007-10-15 Thread ydjango

Changing host from '' to 127.0.0.1 in setting.py made the error go
away.
it is working fine now.

thanks

On Oct 15, 11:12 am, ydjango <[EMAIL PROTECTED]> wrote:
> my mysql is running under /opt/lammp.
>
> when I run 'python manage.py syncdb'
> i get error _mysql_exceptions.OperationalError: (2002, "Can't connect
> to local MySQL server through socket '/var/lib/mysql/
> mysql.sock' (111)")
>
> Is there anyway I can specify it to use /opt/lampp/var/mysql/
> mysql.sock instead.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



how to set mysql socket path for 'python manage.py syncdb' command

2007-10-15 Thread ydjango

my mysql is running under /opt/lammp.

when I run 'python manage.py syncdb'
i get error _mysql_exceptions.OperationalError: (2002, "Can't connect
to local MySQL server through socket '/var/lib/mysql/
mysql.sock' (111)")

Is there anyway I can specify it to use /opt/lampp/var/mysql/
mysql.sock instead.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---