What does that mean? Does it die, saying "cant open db"?
In this case you should provide more information in your die string, like die "cant open db: " . $DBI::errstr . "\n";
This would give you the error comming from the database.
You can also use the printerror and raiseerror flags, take a look at perldoc DBI for that.
update: fixed bug
In reply to Re: DBD::mysql
by busunsl
in thread DBD::mysql
by costas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |