title: ERROR in connecting pdo with odbc in php file not found
body: <p>i am trying to connect the microsoft access database using pdo with odbc , i have mounted the files on network drive and i am trying to access them, but i am getting the following error :</p>
  
  <blockquote>
    <p>PDOException' with message 'SQLSTATE[01000] SQLDriverConnect: 0 [unixODBC][Driver Manager]Can't open lib '/info/new.mdb': file not found' .</p>
  </blockquote>
  
  <p>here is my code : </p>
  
  <pre><code>$dbName = "/info/new.mdb";
  
  if (!file_exists($dbName)) {
      die("Could not find database file.");
  }
  $database = new PDO("odbc:Driver=$dbName;Dbq=/info/new;Uid=admin");
  </code></pre>