Hi Lu, Yiling (SI BSW OPS TECH SW-ENG 3) •,
Welcome to Microsoft Q&A forum.
As I understand, you are getting "An error has occurred. The target schema is in an unknown state" in Azure Database for MySQL.
Could you please try the solutions mentioned below:
1). This could be caused by a new schema added, try to check drop and recreate.
2). Check version of your Software, try updating if helps.
3). Try to open VS with "Run As Administrator" mode.
4). Try to clear cache file(dbmdl) from the project if that helps.
Let us know if any of the above helps you proceed.
If not, please share more details step wise so that we can investigate.
Thanks