数据库连接在php与MS Access在linux主机 [英] database connection in php with MS Access on linux hosting

查看:191
本文介绍了数据库连接在php与MS Access在linux主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行php。

在我的本地我正在使用Windows环境,所以很容易使用ODBC连接器连接到MS Access数据库。

I am running on php.
And in my local I am working on windows environment so it was easy to connect to MS Access Database using ODBC connector.

但是在我的活动服务器环境中有Linux,所以有一个关于数据库连接的问题。

But on my live server environment there is Linux so there is a problem regarding the DB connection.

那么连接到MS Access DB的步骤是什么在Linux环境下使用php。

So what are the steps to connect to MS Access DB in Linux environment using php.

感谢

Avinash

Thanks
Avinash

推荐答案

这不是直接回答你的问题,但它是另一种方法来解决希望使用Access更新网络数据的问题:

This isn't directly answering your question either, but it is another way to solve the problem of wanting to use Access to update web data:

可以在实时(网络)服务器上将您的Access数据库移植到MySQL,并使用 Access 作为用户的前端(基本上翻转网站和Access的角色):

You can port your Access database to MySQL on the live (web) server, and use Access as the frontend to that database for your user (basically flipping the roles of the website and Access):

您可以使用 MySQL Connector 驱动程序,使用外部数据工具将表链接到Access。这样,你得到一个(更严重的)数据库引擎,针对网络进行了优化,但保留了用户使用他们熟悉的工具处理数据的能力。

You can connect to the MySQL database from Access over ODBC using the MySQL Connector driver, linking the tables into Access with the "External Data" tools. That way, you get a (more) serious database engine, optimized for the web, but retain your user's ability to manipulate the data with tools familiar to them.

这篇关于数据库连接在php与MS Access在linux主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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