Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: DBI with 2nd mysql server, nonstandard port

by dbwiz (Curate)
on Feb 26, 2005 at 22:17 UTC ( #434827=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $dbh=DBI->connect('dbi:mysql:dbname'
            . ';host=127.0.0.1'
            . ';port=3310',
    'user', 'password');
    
  2. or download this
    my $dbh=DBI->connect('dbi:mysql:dbname'
            . ';host=localhost'
            . ';mysql_socket=/var/mysql4.1.9/mysql.sock',
    'user', 'password');
    
  3. or download this
    SET PASSWORD=OLD_PASSWORD('yoursecretpassword');
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-08-27 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (252 votes), past polls