:: 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

Reply via email to