【发布时间】:2012-03-02 10:58:03
【问题描述】:
我已经用谷歌搜索了好几个小时了。
看过无数文章如:Is there a Windows 7 ODBC driver for Access?
我已尝试同时使用 ODBC 管理员 - 并且成功地为两者添加了系统 DSN:
- Microsoft Access 数据库
- 微软做 Access 数据库
当我尝试连接本地存储的 Access DB 时:
odbc_connect('Aquarius2', '', '');
我收到以下错误:
odbc_connect(): SQL 错误: [Microsoft][ODBC Driver Manager] The specified DSN contains a architecture mismatch between Driver and Application, SQLConnect in SQLConnect in C:\export\export.php on line 3
简单脚本尝试安装最新的访问驱动程序 - Aquarius2 是我的 DSN 的名称仍然失败。
我没有想法 - 我错过了什么?
问候, 亚历克斯
【问题讨论】:
-
您使用的是 32 位还是 64 位 dsn?