There are two issues here:
my $dbh=DBI->connect('dbi:mysql:dbname' . ';host=127.0.0.1' . ';port=3310', 'user', 'password');
my $dbh=DBI->connect('dbi:mysql:dbname' . ';host=localhost' . ';mysql_socket=/var/mysql4.1.9/mysql.sock', 'user', 'password');
SET PASSWORD=OLD_PASSWORD('yoursecretpassword');
HTH
In reply to Re: DBI with 2nd mysql server, nonstandard port
by dbwiz
in thread DBI with 2nd mysql server, nonstandard port
by Kozz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |