bhushanQA has asked for the wisdom of the Perl Monks concerning the following question:
DBI connect('server=172.20.24.157; database=PP_DB; interfaces=/opt/sybase/interfaces','sa',...) failed: OpenClient message: LAYER = (6) ORIGIN = (8) SEVERITY = (5) NUMBER = (1) Server 172.20.24.157, database Message String: ct_connect(): directory service layer: internal directory control layer error: There was an error encountered while binding to the directory service. at ./update_database.pl line 5
Below is the script:#!/usr/bin/perl use strict; use DBI; my $dbh = DBI->connect( "DBI:Sybase:server=172.20.24.157; database=PP_ +DB; interfaces=/opt/sybase/interfaces","sa", "password" );
Can somebody guide me where it is going wrong ??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl script to connect to sybase database
by Corion (Patriarch) on Jun 22, 2015 at 13:27 UTC | |
by bhushanQA (Sexton) on Jun 22, 2015 at 14:08 UTC | |
|
Re: Perl script to connect to sybase database
by graff (Chancellor) on Jun 23, 2015 at 01:44 UTC | |
|
Re: Perl script to connect to sybase database
by locked_user sundialsvc4 (Abbot) on Jun 22, 2015 at 14:24 UTC |