Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Connecting to mysql using DBI and a non-standard socket

by logan (Curate)
on Jul 05, 2005 at 19:34 UTC ( #472574=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %attr;
    $attr{socket} = "/usr/kasenna/mysql/tmp/mysql.sock";
    my $dbh = DBI->connect('dbi:mysql:nemo', 'nemo', 'password', \%attr);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://472574]
Approved by gellyfish
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-12-21 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls