vb.net 使用 mysql 连接器安装 mysql.data.mysqlclient 但没有 bin 文件夹?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14419482/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Installing mysql.data.mysqlclient using mysql connector but no bin folder?
提问by BgreenDSI
I would like to connect to our remote mysql db using VB.NET but I'm having issues with installing a .dll file. I need to add mysql.data.mysqlclient reference but can't find bin folder containing .dll file. I did many google and stack overflow searches but haven't stumbled on any solutions.
我想使用 VB.NET 连接到我们的远程 mysql 数据库,但我在安装 .dll 文件时遇到问题。我需要添加 mysql.data.mysqlclient 引用,但找不到包含 .dll 文件的 bin 文件夹。我做了很多谷歌和堆栈溢出搜索,但没有偶然发现任何解决方案。
- I downloaded mysql connector
- Unzipped it
- Opened Visual Studio 2010 Express and created new project
- Under solutions explorer, right clicked to add reference
- Then browsed to unzipped mysql connector folder to find bin folder
- 我下载了mysql连接器
- 解压缩
- 打开 Visual Studio 2010 Express 并创建新项目
- 在解决方案资源管理器下,右键单击以添加引用
- 然后浏览到解压的mysql连接器文件夹找到bin文件夹
This bin folder isn't anywhere to be found. I'm missing something, any help is appreciated.
找不到此 bin 文件夹。我错过了一些东西,任何帮助表示赞赏。
回答by fikrul huda
You have to install the mysql connector to your machine. Then open your project, right click, and click 'add reference', find 'mysql.data' at the '.NET' tab.
您必须将 mysql 连接器安装到您的机器上。然后打开您的项目,右键单击,然后单击“添加引用”,在“.NET”选项卡中找到“mysql.data”。

