无需驱动程序即可从 VBA 连接到 MySQL

发布于 2024-12-12 01:42:15 字数 238 浏览 5 评论 0原文

我在我的计算机上安装了xampp,我希望另一台计算机能够访问vba中的mysql db。但是,他们的计算机上没有管理员权限,无法获取它,而且他们没有安装 mysql ado 驱动程序。

有没有办法在没有这个驱动程序的情况下做到这一点 - 我可以使用便携式驱动程序或 Windows 标准库吗?

目前我能做的就是创建一个 php 页面并使用带有 sql 查询的 post 数据,以 xml 或其他形式获取结果,这实际上不是我想要的。

I installed xampp on my computer and I want another computer to access the mysql db in vba. But, they don't have admin right on their computer and cant get it, and they dont have mysql ado driver installed.

Is there a way to do it without this driver - can I use a portable driver or a windows standard lib?

At the moment all I can do is create a php page and use post data with a sql query, getting the result as xml or whatever, which is really not what I want.

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

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

发布评论

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

评论(1

柒七 2024-12-19 01:42:15

如果没有正确的 ODBC 驱动程序,应用程序将无法直接连接到数据库。您必须通过某种安装了驱动程序的中间层来完成。

这里的解决方案是让用户致电服务台并让他们在他的 PC 上安装 MySQL 驱动程序。如果这对业务至关重要,那么获得批准应该不难。如果不是,您将需要重新设计应用程序以适应 IT 策略。

Without the correct ODBC driver the app won't be connecting to the database directly. You'll have to do through some sort of middle tier that does have the driver installed.

Your solution here is to have the user call the help desk and have them install the MySQL drivers on his PC. If this is business critical it shouldn't be hard to get it approved. If not you'll need to redesign the app to fit within the IT policies.

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