in reply to Connecting to remote db with DBI
my $dbh = DBI->connect("DBI:mysql:database=$db;host=$host", $user, $pass, { RaiseError => 1 } ) or die ( "Couldn't connect to database: " . DBI->errstr );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Ojiwa Janga-Kenya: Connecting to remote db with DBI
by Anonymous Monk on May 14, 2007 at 11:39 UTC |