in reply to DBI with 2nd mysql server, nonstandard port
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
|
|---|