I am using EF code-first migration to create database schema on MySQL. But it is giving error when I am going to execute command for update database as below.
Incorrect usage of spatial/fulltext/hash index and explicit index order
I followed all the steps given on MySQL support
I have tried to search on google and also in stackoverflow. But I couldn't get permanent solution to fix this issue.
<connectionStrings>
<add name="DefaultConnection" connectionString="Server=localhost;port=3306;database=testdb;Uid=root;password=*******;" providerName="MySql.Data.MySqlClient" />
</connectionStrings>
I using using MySQL Workbench 6.3.10. MySQL Server version is 8.0.11.
For the entity framework code-first, I am using below packages..
- EntityFramework - 6.2.0
- MySql.Data - 6.10.7
- MySql.Data.Entity - 6.9.12
When I used latest version of MySql.Data (8.0.11), it is giving me diffrent error :
The provider did not return a ProviderManifestToken string.