DBD::mysql gripe

rob_au on 2004-01-13T00:37:56

This journal entry is simply a gripe, nothing insightful or interesting.

When using DBD::mysql, if you specify the host to connect to as localhost, the driver attempts to connect via the UNIX socket by default rather than the localhost TCP connection - This is annoying because it created an error which I had to fix during a code rollout. If I wanted to connect via the UNIX socket, I would have specified it by way of the mysql_socket directive in the DSN.

Feeling much better now ...