简体   繁体   中英

delphi mysql offline connection

I wonder whether it is possible to read data from mysql database not remotely from server , but just from a file on my disk, like from .mdb files. A happened to work with 2010 Office which gives .accmdb files rather then .mdb and cannot convert them, that's why I switched to mysql.
Any help would be greatly appreciated.

  1. You can use MySQL Embedded server. That will be similar to how you are working with Microsoft Access. AFAIK, Anydac supports MySQL Embedded server. May be other libraries too.
  2. But I does not see a reason to replace Access with MySQL. To work with .accdb files you need to use different OLEDB provider (I expect you are using ADO) - "Microsoft Office 12.0 Access Database Engine OLE DB Provider" or similar.

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