in reply to Error connecting to Derby DB
You should read DBI and check for errors when connecting:
$dbh = DBI->connect($dsn, "myuser", "mypassword", { RaiseError => 1, A +utoCommit => 0 }) or die "Couldn't connect to '$dsn' as 'myuser'" . $DBI::errstr;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error connecting to Derby DB
by jainprithviraj (Initiate) on Apr 09, 2011 at 08:52 UTC | |
by Corion (Patriarch) on Apr 09, 2011 at 15:38 UTC | |
by jainprithviraj (Initiate) on Apr 10, 2011 at 08:36 UTC | |
by Corion (Patriarch) on Apr 10, 2011 at 08:46 UTC |