gpt4 book ai didi

mysql - Visual Studio 2015 添加数据源时出现“您已经有一个可用的连接”错误

转载 作者:可可西里 更新时间:2023-11-01 07:58:12 27 4
gpt4 key购买 nike

Visual Studio 2015; Windows 10;

在数据源配置向导中,尝试从网络上安装的 MySQL 添加表。我走到这一步

enter image description here

当我点击“完成”时,我收到此错误消息:

enter image description here

其他 SO 帖子提到了这个问题,没有一个得到解决。这是一个全新的 WinForms 项目,没有编写任何代码。

最佳答案

我在 MySQL 连接器论坛 ( 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/c-net/安装6.9.8

您可以继续使用 MySQL 1.2.6 for Visual Studio。我将添加此注释:

Important

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

发件人:https://dev.mysql.com/doc/visual-studio/en/visual-studio-install.html#Requirements如果您要重新安装所有内容。

关于mysql - Visual Studio 2015 添加数据源时出现“您已经有一个可用的连接”错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39001594/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com