简体   繁体   中英

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.

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 ie, 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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM