Visual Studio 2015添加数据源中的“您已经有可用的连接"错误 [英] 'You have a usable connection already' error in Visual Studio 2015 adding Data Source

查看:98
本文介绍了Visual Studio 2015添加数据源中的“您已经有可用的连接"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2015; Windows 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连接器论坛(

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/archives安装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 for Visual Studio.我将添加此注释:

You can keep using MySQL 1.2.6 for Visual Studio. I will add this note:

重要

在安装MySQL Connector/Net之前,始终先安装MySQL for Visual Studio.

Always install MySQL for Visual Studio before installing MySQL Connector/Net.

来自: https://dev. mysql.com/doc/visual-studio/zh-CN/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添加数据源中的“您已经有可用的连接"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆