'You have a usable connection already' error in Visual Studio 2015 adding Data Source

前端 未结 2 814
不思量自难忘°
不思量自难忘° 2020-12-10 20:49

Visual Studio 2015; Windows 10;

In the Data Source Configuration Wizard, trying to add a table from a MySQL install on the network. I get up to this step

相关标签:
2条回答
  • 2020-12-10 21:24

    I solved this issue.

    1. Remove your existing Mysql for visual studio and MySql Connector by going to programs and features in control Panel.
    2. Close Visual Studio
    3. Download Mysql for visual Studio 1.2.6 Click here
    4. Install it before installing mysql connector
    5. Download mySql Connector 6.9.8 Click here
    6. Install MySql connector.
    7. Start visual Studio

    This should work.

    0 讨论(0)
  • 2020-12-10 21:33

    I found a workaround on the MySQL Connector forums (http://forums.mysql.com/read.php?174,648619,649199#msg-649199)

    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/

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

    Important

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

    From: https://dev.mysql.com/doc/visual-studio/en/visual-studio-install.html#Requirements in case you are reinstalling everything.

    0 讨论(0)
提交回复
热议问题