I see what Tom is saying. You said that you found this in your error log:
> [Tue May 22 01:39:47 2001] [error] DBI->connect failed: Can't connect to
> MySQL server on 'localhost' (10061) at
> e:/pad/htdocs/internet/system/frontpage.cgi line 33
But a previous message suggested trying to propogate your own error in the
Perl code like this:
$dbh = DBI->connect($dsn, dbusrname, dbpassword)
or die "Error: $DBI::errstr";
If you use this method, then you should get a record in your error log
simular to:
"Error: some error message"
Tom is saying that your error message should actually include the string:
'Error: '. I'm wondering the same thing, what did ~that ~ error message say?
---
Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- Fw: Connection to MySQL DB fails when mod_perl enabled.... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl enabled.... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Ken Williams
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl enabled.... Tom Lancaster
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Ken Williams
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl enabled.... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Ken Williams
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Ken Williams
- Re: Connection to MySQL DB fails when mod_perl enabled.... Mike Cameron
