468,294 Members | 1,907 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,294 developers. It's quick & easy.

Entity Framework with MySQL Issues

I'm a beginner with c# / asp.net and I'm trying to get entity framework code-first working with mySQL usign a variety of tutorials. I've managed to get through loads of issues but this one is killing me:
When I try to migrate the database I receive the following error: MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'no' in 'field list'
Mar 31 '20 #1
1 1837
Ishan Shah
47 32bit
First of all, without getting code I can't give a proper answer, but by the error MySql.Data.MySqlClient.MySqlException (0x80004005), You're missing a unique "id" field of the database table which you migrating.
Apr 10 '20 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Andy B | last post: by
9 posts views Thread by Cirene | last post: by
3 posts views Thread by chris.kennedy | last post: by
5 posts views Thread by John | last post: by
1 post views Thread by Andy B | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.