linux iodbc-2.50 driver

From: Date: Tue, 22 Feb 2000 22:43:04 +0000
Subject: linux iodbc-2.50 driver
Groups: php.version4 
Request: Send a blank email to php-version4+get-10670@lists.php.net to get a copy of this message
I compiled php4b4 pl1 with iodbc and I have the following error message with the code: $con= odbc_connect("SERVER=goldorak;DATABASE=mydb;UID=azerty;PWD=azerty;","",""); Warning: SQL error: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded, SQL state IM002 in SQLConnect how do we specify the default driver? since I have set it in the /usr/local/lib/odbc.ini like [goldorak] driver = /usr/lib/libiodbc.so ... and also set the env variable ODBCINI=/usr/local/lib/odbc.ini any body help? jhb http://www.iodbc.org/odbc-phpHOWTO.html

« previous php.version4 (#10670) next »