RE: [PHP-DB] odbc.ini

From: Date: Tue, 11 Jul 2000 15:12:21 +0000
Subject: RE: [PHP-DB] odbc.ini
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1039@lists.php.net to get a copy of this message
Mirko, If there insn't a db2.o then you don't have the native db2 driver. To test it outside of php, you can install the iODBC package, and use odbctest that comes with it. What do you mean that it 'works all right on shell'? Best regards, Andrew ---------------------------------------------------- Andrew Hill Professional Services Consultant OpenLink Software http://www.openlinksw.com Universal Database Connectivity Technology Providers -----Original Message----- From: Mirko Nalesso [mailto:okrim74@libero.it] Sent: Tuesday, July 11, 2000 11:07 AM To: ahill@openlinksw.com Cc: php-db@lists.php.net Subject: RE: [PHP-DB] odbc.ini Hi Andrew, the only example of odbc.ini I find s -------------------------------------------------------------------- [ODBC Data Source] SAMPLE=IBM DB2 ODBC DRIVER [SAMPLE] Driver=/u/thisuser/sqllib/lib/db2.o Description=Sample DB2 ODBC Database [ODBC] Trace=0 TraceFile=odbctrace.out InstallDir=/opt/odbc ------------------------------------------------------- ------------- In my Hard Disk there isn't file db2.o or directory odbc (I think I installed all packeges of IBM DB2). I have no idea about odbcinst.ini structure. How can test the DSN outside of PHP? (and why is it all right on shell?) Thanks a lot. Mirko. > Hi Mirko, > > It's doubful that a bad odbc.ini or odbcinst.ini are producing that screen > garbage. > if you like, please paste in your files. > > Also, have you tested the DSN outside of PHP? > > Best regards, > Andrew > ---------------------------------------------------- > Andrew Hill > Professional Services Consultant > OpenLink Software > http://www.openlinksw.com > Universal Database Connectivity Technology Providers

« previous php.db (#1039) next »