:: 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? That's my point. I DO have the "or die" code in my script - it hasn't changed the message reported in error.log. Believe me guys, I'm as confused as you are. Kindest regards, Jonathan M. Hollin Digital-Word.com
- 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
- Re: Connection to MySQL DB fails when mod_perl enabled.... Matt Sergeant