I use EntityFramework(v.220.127.116.11) code first. .Net framework 4.6.01586. MySQL connector Version=18.104.22.168. MySQL server version = '5.5.28' .When I try to "update-database" i get this error "Type is not resolved for member 'MySql.Data.MySqlClient.MySqlException,MySql.Data, Version=22.214.171.124, Culture=neutral, PublicKeyToken=c5687fc88969c44d'.". It is regular migration. Just "CreateTable". I tried to generate script and apply it to the database manually (via MySql Workbench)and it works. If I use Sql("my sql script") via migration it does not work too.
Have you installed MySQL Connector ? I have downloaded mysql-connector-net-6.9.9.msi and it solved my problem. Download link https://dev.mysql.com/downloads/file/?id=463758