note 27715 added to function.odbc-connect
| From: | sambou at everyonesports dot com | Date: | Mon, 16 Dec 2002 20:11:17 +0000 |
| Subject: | note 27715 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40979@lists.php.net to get a copy of this message | ||
If you encounter the error:
"[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified,
SQL state IM002 in SQLConnect"
make sure you have the correct permission to your database file (e.g. if using Win2k, might want to
set the "Everyone" group to "Full Control"). For Windows, I find that I have to
sometimes use the registry editor (e.g. RegEdt32.exe) to set the database file's permission
because for some unknown reason, setting the permission from the file's "Properties"
option does not work.
--
http://www.php.net/manual/en/function.odbc-connect.php
http://master.php.net/manage/user-notes.php?action=edit+27715
http://master.php.net/manage/user-notes.php?action=delete+27715
http://master.php.net/manage/user-notes.php?action=reject+27715