in reply to perl/CGI/DBI + odd behaviour
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: perl/CGI/DBI + odd behaviour
by Anonymous Monk on Feb 19, 2003 at 19:02 UTC |