Visual Studio 2015 添加数据源时出现“您已有可用连接"错误

#39;You have a usable connection already#39; error in Visual Studio 2015 adding Data Source(Visual Studio 2015 添加数据源时出现“您已有可用连接错误)
本文介绍了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 添加数据源时出现“您已有可用连接"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Hibernate reactive No Vert.x context active in aws rds(AWS RDS中的休眠反应性非Vert.x上下文处于活动状态)
Bulk insert with mysql2 and NodeJs throws 500(使用mysql2和NodeJS的大容量插入抛出500)
Flask + PyMySQL giving error no attribute #39;settimeout#39;(FlASK+PyMySQL给出错误,没有属性#39;setTimeout#39;)
auto_increment column for a group of rows?(一组行的AUTO_INCREMENT列?)
Sort by ID DESC(按ID代码排序)
SQL/MySQL: split a quantity value into multiple rows by date(SQL/MySQL:按日期将数量值拆分为多行)