Cannot connect to mysql from visual studio 2015

前端 未结 5 1027
忘掉有多难
忘掉有多难 2020-12-30 11:13

So I have already spent about 2 days trying fix this. I have succeeded in fixing this on my workplace pc and can\'t get it to work on my home pc. I have read about a dozen S

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-30 12:11

    1. For VS2015 I removed all version installed and through the MySql Installer - Community. I selected Customize Installation and selected MySQL Connectors to install: 1. MySql for Visual Studio 2) MySQl ConnectorNet.

    2. I added references: MySql.Data y MySql.Data.Entity.EF5 both in C:\Program Files (x86)\MySQL\Connector.NET 6.9\Assemblies\v4.5\

    3. Recompiled the project And When creating de ADO.Net Object the famous MySql data provider was shown! A warning was displayed about Entity Frame Versions, I just clicked Next And worked![enter image description here][1]

提交回复
热议问题