问题描述
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 添加数据源时出现“您已有可用连接"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!