note 26458 deleted from function.odbc-connect by cmb
| From: | cmb@php.net | Date: | Sun, 25 Aug 2019 07:52:57 +0000 |
| Subject: | note 26458 deleted from function.odbc-connect by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211973@lists.php.net to get a copy of this message | ||
Note Submitter: mortoray at ecircle-ag dot com
----
If you have switched to a new Version of PHP (from 4.1 to 4.3) and at the same time have upgraded
your Apache server (from 1.x to 2.x) and suddenly get the error:
"[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified,
SQL state IM002 in SQLConnect"
It may be because you have your ODBC connections listed (Control Panel | ODBC) as User DSN rather
than System DSN. They need to be System DSN in order for the PHP in the Apache service to access to
them.