Using MS Access as a front-end to MySQL db

柔情痞子 提交于 2019-12-01 12:22:55

问题


I am using MySQL DB for my android application. I have installed phpmyadmin on my Ubuntu LAMP server and using it to access my DB. Is there any possibilities to access the DB using MS access 2010, as I need to do perform modifications on a regular basis to my DB


回答1:


If the aim is to change the data and not the structure, using MS access is a good solution, as you can edit anything in linked tables very efficiently with litlle setup efforts.

To achieve this, first you need to download and install the MySQL ODBC driver.

In order to avoid issues, I advise you to install the 32 bit driver, even if you're on a 64 bit system. The 32bit will work flawesly, which is not always the case of the 64 bit.

Once installed, open the ODBC control panel and add an entry pointing to your MySQL database

Then in Access you can add linked tables using this ODBC entry

Once the table are linked, they will behave as if they are MS access tables and you can open them and edit data, and much more.




回答2:


You can use Microsoft Access as a front-end to your MySQL database.
Refer: MySQL Documentation

But for your case, directly accessing database is wrong. I suggest better you have a view page with php to update DB with proper required validations.




回答3:


The answer by Thomas G does an excellent job of describing WHAT we need to do, and even provides some good links.

What we need now is a good, step-by-step description of HOW to accomplish all the steps Thomas G describes.

I've been looking for this for a long time, and still no luck. However, I'm possibly on the track of getting that answer, and if I find it, I'll come back here and post it.



来源:https://stackoverflow.com/questions/42919276/using-ms-access-as-a-front-end-to-mysql-db

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!