Vasanth
Vasanth

Reputation: 201

Do we have option to connect perl to MS access db in unix/linux platform?

I thinks windows os it is possible. But I'm not sure about unix/linux. Is there any option to do that. Any one tried before.

Upvotes: 0

Views: 835

Answers (1)

bohica
bohica

Reputation: 5992

You access a MS Access file using ODBC via Perl perl DBI and perl DBD::ODBC using the following methods:

  1. MDB tools (as other have said) which is free
  2. Using an ODBC-ODBC Bridge commercial
  3. Using a Microsoft Access ODBC Driver for Linux/Unix commercial

As current maintainer of DBD::ODBC I've had people report a lot of problems with MDB tools but if you free this is your only choice.

(2) requires you install a service on the windows machine where your MS Access file is located and then it uses the MS Access ODBC Driver. It provides a client ODBC driver for Linux and Unix which talks to the service on the Windows machine.

(3) requires direct access to the MS Access file i.e., you need to have it accessible from the Linux/Unix machine either by copying it to the local disk or accessing it via SMB (samba and file sharing from Windows machine).

Upvotes: 1

Related Questions