Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 studying the Monastery: (4)
As of 2016-06-25 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.