Problem with connecting to an Access 97 db on Linux with Debian7

I have an Acces 97 database working on a Windows 7 PC where I can get data from it by XAMPP with phppdoodbc.

I want to have this database on a QNAP NAS with Linux arm5, on Debian9 with a working Apache2 and PHP7, but I cannot get it to work. I now use:

$db = new PDO("odbc:DRIVER={Microsoft Access Driver (*.mdb)}; Dbq=starchef.mdb;Uid=; Pwd=;");

where the PHP-file and the Database file are in the same directory /var/www/html. What am I doing wrong?

0
edit delete
are you sure?
asked Roel

0 answers

Post an answer but please login first

Post Answer
  1. Please login to post answer

Similar Questions

Tagsfor this question

Forumall questions