Problem with dsn
| From: | Gian Michele | Date: | Wed, 11 Sep 2002 09:44:37 +0000 |
| Subject: | Problem with dsn | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21691@lists.php.net to get a copy of this message | ||
I have installed on my computer :
Apache 1.3
Php 4.1.2
Postgresql
the rpm of odbc and the unixODBC.
I tried to connect to my database after done all configurations; I used the function odbc_pconnect('name_of_my_database','','') and the system gives me this error
"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/check_avviso2.php on line 5"
Does any body knows as set the DSN and the driver?
Thanks a lot!