RE: [PHP] Where do I specify a DSN? v0.2

From: Date: Mon, 01 Jul 2002 20:03:45 +0000
Subject: RE: [PHP] Where do I specify a DSN? v0.2
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-104772@lists.php.net to get a copy of this message
What kind/version of DB? -----Original Message----- From: David Busby [mailto:busby@pnts.com] Sent: Monday, July 01, 2002 2:55 PM To: php-general Subject: [PHP] Where do I specify a DSN? v0.2 List, Guess I should be more specific: Heres line four: $db = odbc_connect("somedsn","sa", ""); My System: RedHat 7.3/Apache/PHP 4.1.2-7 I'm getting this error message...I think I just need to define the DSN...is that done in /etc/odbc.ini? Or what? /B Warning: SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in /var/www/html/index.php on line 4@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#104772) next »