EntityFramework connection to Mysql flash back problem

Source: Internet
Author: User

These two days let entityframework tortured a bit, the connection MySQL generated entity is always flash back.

On the internet there is no specific reason for the flash back.

So I can only bite the bullet to solve this problem.

That's not a lot of crap. The reason for the flashback is MYSQL Connector Net version and MySql.Data.dll, MySql.Data.Entity.EF6.dll version
Not compatible. This may be one-sided, but the problem is solved by version.


Specific solutions:

1. Install MYSQL my version is 5.6, with the mysql-installer-web-community installed.

2. Reinstall MySQL Connector Net i installed the version is 6.9.6.

3. New Project

Installation

NuGet:

Install-package mysql.data.entity-version 6.9.3

Install-package mysql.data-version 6.9.3



The installation process will automatically install the EntityFramework version 6.0.0 if the version is too high it is recommended to drop to 6.0.0

Reboot VS (may not be required)


This time, try to help you solve the problem of the flash back.

Current time 2015-08-27 test passed.



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

EntityFramework connection to Mysql flash back problem

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.