MDE Access 解密 JDBC

发布于 2024-07-25 23:36:07 字数 347 浏览 1 评论 0原文

我想对 MDE Access 文件执行 JDBC SQL 查询。 我已经设置了数据源 ODBC,对于 MDE 文件来说一切正常。

现在,我正在使用较新版本的 MDE 文件,结果如下:

java.sql.SQLException:[Microsoft][驱动程序 ODBC Microsoft Access] 无法读取记录。 “tbl_mytable”无法读取授权。

如果我使用 Access Runtime 打开 MDE,系统会要求我输入密码,在保留空白密码后我可以看到所有数据。 当然,“tbl_mytable”确实存在于数据库内部。

I want to perform JDBC SQL queries on a MDE Access file.
I've set up the data source ODBC and everything worked well for a MDE file.

Now, I'm working with a newer version of the MDE file, and here is the result:

java.sql.SQLException: [Microsoft][Driver ODBC Microsoft Access]
Cannont read record. Read authorization unavailable for "tbl_mytable".

If I open the MDE with Access Runtime I am asked for a password, and after leaving a blank password I can see all the data. Of course, "tbl_mytable" does exist inside the database.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

扛刀软妹 2024-08-01 23:36:07

我假设您没有自己制作 MDE。 正如 David 所说,如果 MDB 数据库仅用作数据库文件而不是应用程序,那么将 MDB 数据库转换为 MDE 没有任何优势。

不管怎样,看起来您正在使用的新版本的 MDE 数据库上已经实施了一些组安全性。
您需要与创建原始数据库的人核实他们是否设置了安全性,以便他们可以为您提供再次访问该数据库所需的正确用户名和密码。

获得用户名/密码后,您可以更改 ODBC 数据源设置或当前使用的连接字符串,通常通过向其中添加 "UID=username;PWD=password;" 来更改。

I assume that you did not make the MDE yourself. As David said, there is no advantage to convert a MDB database to MDE if it is just going to be used as a database file and not an application.

Anyway, it looks like some group security was put in place on the new version of the MDE database you are using.
You need to check with the person who created the original database if they set up security so they can give you the proper username and password needed to access it again.

Once you get the username/password, you can either change your ODBC data source settings or the connection string you are currently using, usually by adding a "UID=username;PWD=password;" to it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文