3 messages in com.mysql.lists.perlRe: Connect to a socket with DBI::mysql?
FromSent OnAttachments
Bernie Cosell11 May 2001 16:58 
Jochen Wiedmann13 May 2001 12:06 
Bernie Cosell13 May 2001 12:48 
Subject:Re: Connect to a socket with DBI::mysql?
From:Bernie Cosell (ber@fantasyfarm.com)
Date:05/13/2001 12:48:59 PM
List:com.mysql.lists.perl

On 13 May 2001, at 21:06, Jochen Wiedmann wrote:

Quoting Bernie Cosell <ber@fantasyfarm.com>:

It is possible to use DBI::mysql to connect to a server via a socket?

How about searching for the word "socket" in "perldoc DBD::mysql"?

I did, alas:

$ perldoc DBI::mysql No documentation found for "DBI::mysql". However, try perldoc DBI::mysql::include perldoc DBI::mysql::info perldoc DBI::mysql::lib perldoc DBI::mysql::bin perldoc DBI::mysql::share perldoc DBI::mysql::libexec perldoc DBI::mysql::man perldoc DBI::mysql::sql-bench perldoc DBI::mysql::var perldoc DBI::mysql::mysql-test

and none of that works at all. E.g,

$ perldoc DBI::mysql::info No documentation found for "DBI::mysql::info".

So I was reduced to using 'man DBI' and I did look through that [honest! :o)] and there's really nothing there about sockets. But your reply certainly implies that the answer to my question is hiding there *someplace* [which is really all I needed to know. THANKS!]

Oh.. DUH. I found the #%@#$%@#$ man page I needed. Turns out to be "DBD::mysql", and yes, the socket info I was looking for is right there. I hadn't guessed to try 'DBD::' [and now to try to figure out why my sysadmin has the installed-docs so badly screwed up].

Thanks for the kick in the pants...

/Bernie\