#39;You have a usable connection already#39; error in Visual Studio 2015 adding Data Source(Visual Studio 2015 添加数据源时出现“您已有可用连接错误)
问题描述
Visual Studio 2015;视窗 10;
Visual Studio 2015; Windows 10;
在数据源配置向导中,尝试从网络上的 MySQL 安装添加表.我走到这一步
In the Data Source Configuration Wizard, trying to add a table from a MySQL install on the network. I get up to this step
当我单击完成"时,我收到此错误消息:
When I click 'Finish', I then get this error message:
其他 SO 帖子提到了这个问题,没有一个得到解决.这是一个全新的WinForms项目,没有写代码.
Other SO posts refer to this issue, none are resolved. This is a fresh WinForms project, there is no code written.
推荐答案
我在 MySQL 连接器论坛 (http://forums.mysql.com/read.php?174,648619,649199#msg-649199)
I found a workaround on the MySQL Connector forums (http://forums.mysql.com/read.php?174,648619,649199#msg-649199)
基本上,您想使用连接器 6.9.8,而不是 6.9.9.所以卸载6.9.9,从https://downloads.mysql.com/安装6.9.8档案/c-net/
Basically, you want to use Connector 6.9.8, not 6.9.9. So uninstall 6.9.9, install 6.9.8 from https://downloads.mysql.com/archives/c-net/
您可以继续将 MySQL 1.2.6 用于 Visual Studio.我将添加此注释:
You can keep using MySQL 1.2.6 for Visual Studio. I will add this note:
重要
在安装 MySQL Connector/Net 之前,始终为 Visual Studio 安装 MySQL.
Always install MySQL for Visual Studio before installing MySQL Connector/Net.
来自:https://dev.mysql.com/doc/visual-studio/en/visual-studio-install.html#Requirements 以防您重新安装所有内容.
From: https://dev.mysql.com/doc/visual-studio/en/visual-studio-install.html#Requirements in case you are reinstalling everything.
这篇关于Visual Studio 2015 添加数据源时出现“您已有可用连接"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Visual Studio 2015 添加数据源时出现“您已有可用连接"错误


基础教程推荐
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- 带更新的 sqlite CTE 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01