In the win7,win10,vs2015,vs2017 between two days, dead or alive is not out of MySQL data source. It's damn.
Just say the plan.
One, uninstall the mysql-connector-net, mysql-for-visualstudio-1.2.7, Mysql-installer-community, Mysql-installer-web-community, etc. in order to achieve the application of the connection or drive, in the control Panel, uninstall the program search, found this right-click Uninstall. Clean, restart, turn off vs.
Two, confirm ODBC driver, view ODBC data source 64 bits in Control Panel \ All Control Panel items \ Administrative Tools.
Verify that the two drivers are present in the diagram. If not, go to the official download: https://dev.mysql.com/downloads/connector/odbc/installation, after completion, re-open the ODBC data source, confirm the driver situation, it is best to restart.
Third, install Mysql-for-visualstudio-1.2.7.msi This has a problem, if you are downloading the Mysql-installer-web-community-5.7.20.0.msi (contains Mysql-for-visualstudio) you will magically discover that it may not be possible to identify VS2015 and VS2017 cause Mysql-for-visualstudio can not be selected, and can not be installed. So to install Mysql-for-visualstudio-1.2.7.msi separately, install the package to find it yourself. I was looking for it myself, and I couldn't find it. Please contact me again. After installation, it is best to restart. (mysql-for-visualstudio-2.0.4 does not seem to work properly)
Four, the installation of Mysql-connector-net, the author downloaded Mysql-connector-net-6.10.5.msi several attempts to have no results, suspected that this version and 1.2.7 have compatibility issues. After installing the mysql-connector-net-6.9.9 through the module inside the Mysql-installer-web-community-5.7.20.0.msi. After the installation succeeds, it's best to reboot and then turn on VS, the magical discovery that really works. Alas, it's a day-to-day toss.
If you think this article has helped you, please leave a message to motivate.
About vs2017,vs2015 using EF with MySQL does not show the data source problem solution