MS Access DSN for PEAR DB::connect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, the first email was unreadable, Here again!
 
<p>Does anyone know what DSN I must use to get connected to my MS Access database?</p>
 
<p> BUSINESS is my OBDC connection on Windows 2000 to my 
database. As PHP database type I use 'odbc'. </p>
 
<p>
<?php require_once('DB.php'); 

$dsn = "odbc:///BUSINESS"; 

$db = DB::connect($dsn); 

if (DB::isError($db)) { 
die ($db->getMessage()); 
} 
?> 

</p>
 
<p>
I tried the following DSN, unfortunately with same result:
$dsn = "odbc:///BUSINESS"; $dsn = "odbc://localhost/BUSINESS"; $dsn = 
"odbc://administrator@localhost/BUSINESS"; $dsn = 
"odbc://user@localhost/BUSINESS"; $dsn = "odbc://userassword@localhost/BUSINESS"; 
</p>
<p>
Any hints from you are very welcome, regards, bjoon 
</p>



---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux