在 Ubuntu 上从 PHP 访问 .mdb 文件 [英] Access from PHP to .mdb file on Ubuntu

查看:39
本文介绍了在 Ubuntu 上从 PHP 访问 .mdb 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Ubuntu 上获取 .mdb 文件(MS-Access db)的访问权限时遇到问题.我需要完全访问权限(也可以读写).
最初项目是使用 odbc 在 Windows 上构建的(并且一切正常).但是当我把它移到 linux-server 上时出现了问题.
目前安装了用于 odbc 的 PHP 扩展.但是我找不到任何用于 Access 的免费 ODBC 驱动程序.我尝试使用 MDB 工具,但似乎只能用于阅读.
也许有人可以提出任何解决方案?使用其他数据库是不合适的,因为我的老板反对.
感谢您的帮助.

I've got a problem of obtaining access to .mdb file (MS-Access db) on Ubuntu. I need full access(read and write too).
Originally project was built on Windows using odbc (and everything has worked well). But when I moved it on linux-server appeared problems.
At the moment PHP-extensions for work with odbc are installed. But I can't find any free ODBC-driver for work with Access. I've tried to use MDB Tools but seems it works only for reading.
Maybe somebody can suggest any solution? Usage of some another DB is not appropriate, because my boss is against it.
Thanks for any help.

推荐答案

感谢大家的帮助.最后我们决定使用另一个数据库.我对这个问题的回答 - 不可能(如果您需要写入 DB)仅基于免费解决方案在 linux 上使用 Access DB.如果您只需要阅读,您可以将 MDB 工具与 PDO 一起使用.如果您准备付款,可以尝试 EasySoft 解决方案.

Thanks everybody for your help. Finally we decided to use another DB. My answer on this question - it's impossible(if you need to write to DB) to use Access DB on linux based only on free solutions. If you need only read you can use MDB tools with PDO. If you're ready to pay you can try EasySoft solutions.

这篇关于在 Ubuntu 上从 PHP 访问 .mdb 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆