数据库世界中的提供者和连接器有什么区别?

发布于 2024-07-16 17:54:18 字数 212 浏览 6 评论 0原文

我创建一个新的文本文件,将其重命名为 test.udl 并双击该文件。 这将打开 OLE DB 连接字符串对话框。 第一个选项卡显示我的计算机上安装的提供程序列表。 我需要 MySQL 连接字符串,但列表中没有 MySql 提供程序。 因此,我从互联网下载 MySql ADO.NET Connector 并安装它,但它仍然没有显示为提供程序。

什么是提供者,什么是连接器?

I create an new text file, rename it to test.udl and double click on the file. This brings up the OLE DB connection string dialog box. The first tab shows a list of providers installed on my machine. I need a MySQL Connection string, but I do not have a MySql provider in the list. So I download MySql ADO.NET Connector from the internet and install it, but it still does not show up as a provider.

What is a Provider and what is a Connector?

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

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

发布评论

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

评论(1

孤星 2024-07-23 17:54:18

连接器将允许您以“.Net”方式连接,而提供商将允许您通过 OLEDB 接口进行连接。

MySql 连接器将允许您访问 MySqlConnection、MySqlCommand 等类以及所有 ADO.Net 范例对象,而使用 OLEDB,您将通过 OleDbConnection、OleDbCommand 等进行连接

The Connector will allow you to connect in a ".Net" way, while the provider will allow you to connect via OLEDB interface.

The MySql connector will give you access to classes as MySqlConnection, MySqlCommand, etc, and all the ADO.Net paradigm objects, while with OLEDB you will connect via OleDbConnection, OleDbCommand, etc

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