MS Access DSN for PEAR DB::connect
| From: | Bita Jooooooon | Date: | Tue, 03 Jun 2003 10:01:45 +0000 |
| Subject: | MS Access DSN for PEAR DB::connect | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28251@lists.php.net to get a copy of this message | ||
Hi!Does anyone know what DSN I must use to get connected to my MS Access database? BUSINESS is my
OBDC connection on Windows 2000 to my database. As PHP database type I use 'odbc'. Please
find the enclosed code snipet: getMessage());} ?> When running it, I receive an DB Error: connect
failed. Unfortunately with same result, I tried the following DSN:$dsn =
"odbc:///BUSINESS"; $dsn = "odbc://localhost/BUSINESS"; $dsn =
"odbc://administrator@localhost/BUSINESS"; $dsn =
"odbc://user@localhost/BUSINESS"; $dsn =
"odbc://userassword@localhost/BUSINESS"; Any hints from you are very welcome, regards,
bjoon
---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.