NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Monday January 12, 2004
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 ...
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.