简体   繁体   English

在unix / linux平台上,我们是否可以选择将perl连接到MS Access db?

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

I thinks windows os it is possible. 我认为Windows OS是可能的。 But I'm not sure about unix/linux. 但是我不确定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: 您可以使用以下方法通过Perl perl DBI和perl DBD :: ODBC使用ODBC访问MS Access文件:

  1. MDB tools (as other have said) which is free MDB工具(正如其他人所说的)是免费的
  2. Using an ODBC-ODBC Bridge commercial 使用ODBC-ODBC Bridge商业版
  3. Using a Microsoft Access ODBC Driver for Linux/Unix commercial 使用用于Linux / Unix商业Microsoft Access ODBC驱动程序

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. 作为DBD :: ODBC的当前维护者,我曾有人报告过MDB工具存在很多问题,但是如果您免费,这是您唯一的选择。

(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. (2)要求您在MS Access文件所在的Windows计算机上安装服务,然后使用MS Access ODBC驱动程序。 It provides a client ODBC driver for Linux and Unix which talks to the service on the Windows machine. 它提供了适用于Linux和Unix的客户端ODBC驱动程序,可与Windows计算机上的服务进行通讯。

(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). (3)需要直接访问MS Access文件,即,您需要通过将其复制到本地磁盘或通过SMB访问文件(从Windows计算机进行Samba和文件共享)来从Linux / Unix计算机访问它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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