PC: Intel x86
OS : Red Hat Linux 6.2 (Zoot)
Db: Sybase 11.03
Problematic script :
line 18$DBA = "sdjsh";
line 19$DBA_Pass = "dkfj";
line 20$DSN = "dbi:Sybase:SYBASE";
line 21$dbh= DBI-connect($DSN,$DBA,$DBA_Pass) || die ("Can't connect to
line 22database.: $DBI::errstr. Try again later.");
Thanks to all of those helped me!
My script runs normally.
regards,
--ahmed.
- Original Message -
From: Alexander Farber (EED) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 5:41 PM
Subject: Re: ct-connect() Error 111
Ahmed Shaikh wrote:
DBI-connect failed
PC: Intel x86
OS : Red Hat Linux 6.2 (Zoot)
Db: Sybase 11.03
Problem:
I want to run my perl 3 Lines script from shell prompt.
a small script like this;
# script name test.pl
Line 1: #!/usr/bin/perl -w
Line 2: use DBI ;
Line 3: use DBD::Sybase;
i provide following line on shell( c-shell)
perl