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


Reply via email to