Where do I specify a DSN? v0.2
| From: | David Busby | Date: | Mon, 01 Jul 2002 19:54:42 +0000 |
| Subject: | Where do I specify a DSN? v0.2 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104756@lists.php.net to get a copy of this message | ||
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