MySQL Visual Studio 2015您已经有可用的连接 [英] MySQL Visual Studio 2015 You have a usable connection already

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

问题描述

我对Visual Studio 2013有相当的经验,现在我正在升级到VS 2015,并尝试向Windows Forms应用程序添加新的数据源并发出问题.重现我的问题非常容易.

I'm fairly experienced with Visual Studio 2013 and I'm now upgrading to VS 2015 and running into and issue adding a new datasource to a Windows Forms Application. It is very easy to recreate my issue.

这是我的设置:

Visual Studio 2015 Enterprise 2015更新3
适用于Visual Studio 1.2.6的MySQL
连接器/网络6.9.9

Visual Studio 2015 Enterprise 2015 Update 3
MySQL for Visual Studio 1.2.6
Connector/Net 6.9.9

注意:根据位于 http://dev.mysql.com/doc/visual-studio/zh-cn/visual-studio-install.html ,我还尝试了其中列出的支持软件的几乎所有其他排列方式

Note: The above configuration is supported according to the support information matrix located at http://dev.mysql.com/doc/visual-studio/en/visual-studio-install.html and I've also tried just about every other permutation of supported software listed there.

以下是重新创建问题的方法:

Here's how to recreate the issue:

新的C#Windows窗体应用程序
添加新数据源
数据库
数据集
新建连接(连接正常)
保存连接
选择您的数据库对象
选择任何表
完成

New C# Windows Forms Application
Add New Data Source
Database
Dataset
New Connection (connects just fine)
Save the connection
Choose your database objects
Select any table
Finish

错误:无法自动生成某些更新命令.数据库返回以下错误: 您已经有可用的连接.

Error: Some updating commands could not be generated automatically. The database returned the following error: You have a usable connection already.

感谢任何能提供我可能做错事情的线索的人.

Grateful for anyone who can even give a clue as to what I might be doing wrong.

推荐答案

  1. 安装mysql-for-visualstudio-2.0.4.msi(此处).
  2. 安装Connector/Net 6.9.9.msi(此处).
  1. Install mysql-for-visualstudio-2.0.4.msi (here).
  2. Install Connector/Net 6.9.9.msi (here).

这篇关于MySQL Visual Studio 2015您已经有可用的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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