I think your $dsn is incorrect, try: my $dsn = 'DBI:mysql:database=mydb;host=localhost';
It would be a good idea to check for errors after each DBI call. You can set that up to be automatic with the 'RaiseError' attribute in the connect() call.
After Compline,
Zaxo
In reply to Re: DBI Problem
by Zaxo
in thread DBI Problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |