About vs2017,vs2015 using EF with MySQL does not show the data source problem solution

Source: Internet
Author: User
Tags odbc

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.