I have a site where I need to use the mysql tcp port of 3306 instead
of the unix domain socket, to talk to mysql. So, I did this in my
settings.py

DATABASE_HOST = 'localhost'
DATABASE_PORT = 3306

Unfortunately, it seems to be ignored.

_mysql_exceptions.OperationalError: (2002, "Can't connect to local
MySQL server through socket '/tmp/mysql.sock' (2)")

Is it possible to tell Django to tell MySQLdb to use the tcp port?

Thanks,
Mike
--~--~---------~--~----~------------~-------~--~----~
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