in reply to perl uses wrong socket to connect to mysql
In other words; you need to supply the connection info yourself, because it's no use guessing.
update: the DBD::mysql manual states:
$dsn = "DBI:mysql:database=$database;host=$hostname;port=$port";
$dbh = DBI->connect($dsn, $user, $password);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl uses wrong socket to connect to mysql
by Anonymous Monk on Apr 16, 2005 at 21:25 UTC | |
by Joost (Canon) on Apr 17, 2005 at 12:45 UTC |