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;
In reply to Re: Error connecting to Derby DB
by Corion
in thread Error connecting to Derby DB
by jainprithviraj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |