Re: odbc connect problem
| From: | salamander | Date: | Tue, 13 Aug 2002 23:31:45 +0000 |
| Subject: | Re: odbc connect problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21127@lists.php.net to get a copy of this message | ||
Hi Chip,
Looks okay at first brush - I suspect your odbc.ini DSN config.
Have you been able to test your DSN outside the PHP environment? e.g with the odbctest app that comes with iODBC?
Can you post your odbc.ini / DSN info?
Warning: SQL error: [iODBC][Driver Manager]Specified driver could not be loaded, SQL state IM003 in SQLConnect in /usr/local/apache/htdocs/odbctest.php on line 16My suspicions come from the test of this error - "could not be loaded" - so it's possible that your are specifying an invalid file, or there are permission issues on that file, etc.. either way, the contents of your odbc.ini might help. Cheers, Andrew