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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -