On Fri, 4 Apr 2003 11:43:11 -0800 (PST) John Costello <[EMAIL PROTECTED]> wrote:

> The script is:
> use DBI;
> 
> $port = "1521";
> $host = "myserver.mydomain.com";
> $sid = "LYST";
> $user = $passwd = "reporter";
> $dbh = DBI->connect("dbi:Oracle:host=$host;sid=$sid;port=$port", $user, 
> $passwd) || die "Unable to connect to host $host SID $sid on port 
> $port\n";

Adding $DBI::errstr to the error message might have made it easier to
find out what the problem was.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

Reply via email to