Thanks for the pointer. It turns out that MySQLdb uses sockets by
default if you specify 'localhost' as the server. That's fine for my
purposes because my server is listening on the default. If anyone has
MySQL listening on another socket file then Django will need to be a
bit more configurable.

If you're using all the defaults it's sufficient to leave DATABASE_HOST
and DATABASE_PORT as empty strings.

Ben

Reply via email to