这段时间研究 Excel VB编程,公司windows电脑链接 oracle/mysql 数据库很容易,回家使用mac 发现数据库驱动配置跟windows还是很不一样的。
刚开始弄的也挺曲折的,还没成功!后面发现,excel 中新建数据库查询的时候,会提示安装 odbc 管理器,然后尝试看了下链接官网,如下:
https://support.office.com/zh-cn/article/与-Excel-for-Mac-兼容的-ODBC-驱动程序-9fa6bc7f-d19e-4f7f-9be4-92e85c77d712?ui=zh-CN&rs=zh-CN&ad=CN
官网显示有两家公司的产品支持
-
我选择了 actual 。
下载链接: Actual_ODBC_Pack.dmg
安装配置细节如下:
Actual ODBC Driver Pack
The Actual ODBC Drivers provide three core features for connecting an ODBC-readyapplication such as Microsoft Excel and FileMaker Pro to a database:
-
the setup utility that allows you to specify the connection name and the name oraddress of the server hosting the database
-
a login screen that authenticates you to the database
-