Visual Studio 2015 Entity Framework No connection to MySQL -


had been struggling quite sometime. installed mysql db, mysql .net connector , came mysql installation. created project in vs. installed mysql.data , mysql.entity nuget. tried create edms using ado model. on connection popup, no entry mysql server , no mysql .net connector in dropdown.

enter image description here

in web.cofing:

<connectionstrings>     <add name="localmysqlserver" connectionstring="server=localhost;user id=root;password=mypassword;database=mydb" providername="mysql.data.mysqlclient" />  </connectionstrings> 

connectionfactory , other entries in web.config fine too.

<dependentassembly>         <assemblyidentity name="mysql.data" publickeytoken="c5687fc88969c44d" culture="neutral" />         <bindingredirect oldversion="0.0.0.0-6.9.9.0" newversion="6.9.9.0" />       </dependentassembly>  <entityframework>     <defaultconnectionfactory type="mysql.data.entity.mysqlconnectionfactory, mysql.data.entity.ef6">       <parameters>         <parameter value="mssqllocaldb" />       </parameters>     </defaultconnectionfactory>     <providers>      <provider invariantname="mysql.data.mysqlclient" type="mysql.data.mysqlclient.mysqlproviderservices, mysql.data.entity.ef6, version=6.9.9.0, culture=neutral, publickeytoken=c5687fc88969c44d"></provider></providers>   </entityframework>   <system.data>     <dbproviderfactories>      <remove invariant="mysql.data.mysqlclient" /><add name="mysql data provider" invariant="mysql.data.mysqlclient" description=".net framework data provider mysql" type="mysql.data.mysqlclient.mysqlclientfactory, mysql.data, version=6.9.9.0, culture=neutral, publickeytoken=c5687fc88969c44d" /></dbproviderfactories>   </system.data> 

have repeated instructions provided here cannot connect mysql visual studio 2015 , here can't create entity data model - using mysql , ef6 many times no success. dlls referenced correctly.

any pointers? there log file somewhere can tell me why mysql connector not working?


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -