note 27715 deleted from function.odbc-connect by cmb
| From: | cmb@php.net | Date: | Sun, 11 Dec 2016 12:23:26 +0000 |
| Subject: | note 27715 deleted from function.odbc-connect by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208560@lists.php.net to get a copy of this message | ||
Note Submitter: sambou at everyonesports dot com
----
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.