#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 添加数据源时出现“您已有可用连接"错误


基础教程推荐
- SQL Server:只有 GROUP BY 中的最后一个条目 2021-01-01
- Sql Server 字符串到日期的转换 2021-01-01
- SQL Server 中单行 MERGE/upsert 的语法 2021-01-01
- 在 VB.NET 中更新 SQL Server DateTime 列 2021-01-01
- 无法在 ubuntu 中启动 mysql 服务器 2021-01-01
- ERROR 2006 (HY000): MySQL 服务器已经消失 2021-01-01
- 如何在 SQL Server 的嵌套过程中处理事务? 2021-01-01
- 使用pyodbc“不安全"的Python多处理和数据库访问? 2022-01-01
- SQL Server 2016更改对象所有者 2022-01-01
- 将数据从 MS SQL 迁移到 PostgreSQL? 2022-01-01