Slash Boxes
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

use Perl Log In

Log In

[ Create a new account ]

Journal of rob_au (1845)

Monday January 12, 2004
07:37 PM

DBD::mysql gripe

[ #16791 ]
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 ...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.