in reply to Re: Installing DBD::Sybase.
in thread Installing DBD::Sybase.

Hi, I have managed to install the package throught its PPM file,..Thanks

However, when I run this script;
use strict; use DBI; my $dsn = 'dbi:Sybase:LNQ_HYDRA_APPS'; my $user = 'hydra_analyst'; my $passwd = 'hydra_analyst'; my $dbh = DBI->connect($dsn, $user, $passwd);
I get this error;
U:\scripts>odbc_test1.pl DBI connect('LNQ_HYDRA_APPS','hydra_analyst',...) failed: OpenClient m +essage: LA YER = (6) ORIGIN = (8) SEVERITY = (5) NUMBER = (3) Server LNQ_HYDRA_APPS, database Message String: ct_connect(): directory service layer: internal direct +ory contro l layer error: Requested server name not found. at U:\scripts\odbc_test1.pl line 6
The parameters (i.e user name, password and database DSN name) are 100% correct! Any idea please why is this happening?

Thanks indeed.

Replies are listed 'Best First'.
Re^3: Installing DBD::Sybase.
by gellyfish (Monsignor) on Jul 06, 2004 at 10:41 UTC

    It looks to me very much like there is some Sybase client configuration required - you will need to put the server in the SQL.ini file as described in the documentation

    /J\