IBM DB2 connectction problems

From: Date: Mon, 12 Mar 2001 10:21:13 +0000
Subject: IBM DB2 connectction problems
Groups: php.db 
Request: Send a blank email to php-db+get-7305@lists.php.net to get a copy of this message
Hi! I have a problem with connection to IBM DB2 database. I have a Linux (Mandrake 7.2) machine with apache 1.3.14 (from distribution), DB2 V7.1 installed (trial) and self-made php 4.0.3pl1 module, compiled with --with-ibm-db2. When I put in script: $i = odbc_connect ("PROTOCOL=TCPIP; SERVERNAME=jajo.tpi.pl; SERVICE=50002; DATABASE=SAMPLE", "db2inst1", "ibmdb2" ); I receive: Warning: SQL error: , SQL state czen¦?ßÿ¿á&L@Polaczen in SQLConnect in /home/manieq/web/db21.php on line 5 Could someone give me an advice what am I doing wrong? tia ManieQ

« previous php.db (#7305) next »