the host and database don't correspond to the code you postedDBI->connect(host=myhost;database=my_db) failed: Access denied for u +ser: 'maisey@myhost' (Using password: NO) at frontpage.cgi line 25
This leads me to believe that the error might be coming from somewhere else.DBI->connect("DBI:mysql:host=localhost;database=db_name", ...
Suggestion: Strip this down to a small example that demonstrates the problem. You don't need to show us your table formatting code, just a snippet that exhibits this error message, but still permits a query to be executed without error. I'm betting you can do this in less than 20 lines. If you haven't spotted the problem yourself along the way, a small snippet increases the odds that someone here will spot the problem.
In reply to Re: perl/CGI/DBI + odd behaviour
by dws
in thread perl/CGI/DBI + odd behaviour
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |