VS, using Server Explorer to connect to MySQL did not succeed. In accordance with the solution provided online, the relevant plugin has been installed:
1, the Control Panel, MySQL Connector Net 6.9.9 has been installed (the original installation version is 6.9.8, after the upgrade is installed as 6.9.9) and MySQL for Visual Studio 1.2.6 Edition.
According to the official MySQL note, these two versions are not a problem with each other: http://dev.mysql.com/doc/connector-net/en/connector-net-versions.html
2, using NuGet installed EntityFramework and Mysql.data, MySql.Data.Entity package:
3. Review the Web. config file after modification:
Once the above steps are complete, after you restart Visual Studio (and your computer), you will still not be able to select a data source connected to MySQL in VS:
Replacement method: (To be verified)
You do not have to use Server Explorer to write the connection string yourself in the configuration file.
<connectionStrings> <addname="MySqlConnectionString"connectionString="Server=localhost;Database=test; Uid=root;Pwd=12345678"/></connectionStrings>
Visual Studio 2015 connecting to MySQL related issues