MySQL Data Source not appearing in Visual Studio

前端 未结 11 1222
情深已故
情深已故 2020-11-28 08:07

I just installed the ADO.NET connector from here http://dev.mysql.com/downloads/connector/net/

Yet MySQL doesn\'t appear as a data source like it should. I tried res

相关标签:
11条回答
  • 2020-11-28 08:32

    i install mysql for visual studio and the problem simply solved.although version of my visual studio is 2012!

    0 讨论(0)
  • 2020-11-28 08:32

    I have faced the same problem and i have installed mysql-connector-net-8.0.11. But in visual studio is not showing the db connector for mysql. Then I was installed the mysql-for-visualstudio-1.2.8 and run the visual studio. Its working fine.

    Thank you!

    0 讨论(0)
  • 2020-11-28 08:34

    Just struggled with Visutal Studio 2017 Community Edition - none of above options worked for me. In my case what i had to do was:

    1. Run MySQL Installer and install/upgrade: Connector/NET and MySQL for Visual Studio to current versions (8.0.17 and 1.2.8 at the time)

    2. Run Visual Studio Installer > Visual Studio Community 2017 > Modify > Individual components > add .NET Framework Targeting Packs for 4.6.2, 4.7, 4.7.1 and 4.7.2

    3. Reopen project and change project target platform to 4.7.2

    4. Remove all MySQL-related nuGET packages and references

    5. Install following nuGET packages: EntityFramework, MySql.Data.Entity, Mysql.Data.Entities

    6. Upgrade following nuGET packages: MySql.Data, BouncyCastle nad Google.Protobuf (for some reason there is an update available just after install)

    0 讨论(0)
  • 2020-11-28 08:36

    From the MySql site.

    Starting with version 6.7, Connector/Net will no longer include the MySQL for Visual Studio integration. That functionality is now available in a separate product called MySQL for Visual Studio available using the MySQL Installer for Windows (see http://dev.mysql.com/tech-resources/articles/mysql-installer-for-windows.html).

    0 讨论(0)
  • 2020-11-28 08:40

    The Connector 6.7.x does not integrate the native data provider anymore. For "Visual Studio 2012" or less, you have to install "MySQL for Visual Studio". If you are using "Visual Studio 2013" there is no possibility to integrate MySQL for the "Entity Framework" yet. A solution should be available on 10/2013!

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