In my MVC5 EF6 Code First app, in the root Web.Config, I used the connectionString and provider shown at
https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html . Except that I used the actual server where the MySQL databases are, and the name of the actual database, along with my full privilege service account for uid and password.
When I try to create a Controller for one of the Models, I get this Error: There was an error running the selected code generator:
'Unable to retrieve metadata for 'TestUniversity.Models.Student' Using the
same DbCompiledModel to create contexts against different types of database
servers is not supported. Instead, create a separate DbCompiledModel for each
type of server being used.
Is this because of the version of the MySQL database? It is 5.6.13
I received this reply:
this looks like an issue with MySQL Connector/NET. I recommen posting your question in the following forum:
https://forums.mysql.com/list.php?38
So here I am. Can you help?
Thank you