Thread DBD Sybase und Open Client (23 answers)
Opened by a_abels at 2010-08-04 16:30

a_abels
 2010-08-06 09:36
#140412 #140412
User since
2010-07-11
90 Artikel
BenutzerIn
[default_avatar]
So, ich musste auf der Client Seite noch ein paar Dateien erstellen (habe ich mir vom Sybase Server geholt). Dabei handelt es sich um Dateien für charset, locales und die objectid.ini Datei.

Langsam ernährt sich das Eichhörnchen :)

Nächste Meldung:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
DBI connect('host=dbmaschine01:database=master;port=5000','sa',...) failed: OpenClient message: LAYER = (5) ORIGIN = (3) SEVERITY
= (5) NUMBER = (4)
Server , database
Message String: ct_connect(): network packet layer: internal net library error: Protocol driver call to parse connection informati
on failed
Operating System Error: Error in resolving the hostname - Error is 11001 No such host is known.

at D:\managenow_nsm\unicenter_nsm_configuration\bin\scriptengine\DATA\DB_CHECK\db_query.pl line 111
Couldn't connect to database: OpenClient message: LAYER = (5) ORIGIN = (3) SEVERITY = (5) NUMBER = (4)
Server , database
Message String: ct_connect(): network packet layer: internal net library error: Protocol driver call to parse connection informati
on failed
Operating System Error: Error in resolving the hostname - Error is 11001 No such host is known.


Ich gehe von einem Fehler in meinem Quellcode aus:
Code: (dl )
1
2
$dbh = DBI->connect("DBI:Sybase:host=$args{dbhost}:database=$args {dbname};port=$args{dbport}", "$args{dbuser}", "$args{dbpass}")
or die "Couldn't connect to database: " . DBI->errstr;


Ich weiss nicht, ob die connect Syntax so richtig ist!!! Irgendwelche Einwände Eurerseits???

André

View full thread DBD Sybase und Open Client