MS Access Professional Plus 2019 的 Perl 连接字符串
Perl Connection String for MS Access Professional Plus 2019
我有一个 Perl 脚本,它使用此连接字符串写入 MS Access 数据库。它适用于 Microsoft 365:
$dbh = DBI->connect("dbi:ODBC:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=$cwd/imperial.accdb", '', '');
这不再适用于 Professional Plus 2019。有人知道我应该改用什么吗?
The short issue and story is simply that with Access 2019 (and 2016)
CTR (click to run - which is most installations,then installing Access
does not expose a registered copy of ACE).
[...]
So, you need to install the ACE data engine (not access).
Installing ACE from here should do the trick:
https://www.microsoft.com/en-us/download/details.aspx?id=54920
我有一个 Perl 脚本,它使用此连接字符串写入 MS Access 数据库。它适用于 Microsoft 365:
$dbh = DBI->connect("dbi:ODBC:Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=$cwd/imperial.accdb", '', '');
这不再适用于 Professional Plus 2019。有人知道我应该改用什么吗?
The short issue and story is simply that with Access 2019 (and 2016) CTR (click to run - which is most installations,then installing Access does not expose a registered copy of ACE).
[...]
So, you need to install the ACE data engine (not access). Installing ACE from here should do the trick: https://www.microsoft.com/en-us/download/details.aspx?id=54920