C# 无法从Visual Studio 2019中的MySQL数据库更新EntityFramework模型

C# 无法从Visual Studio 2019中的MySQL数据库更新EntityFramework模型,c#,mysql,asp.net,.net,mariadb,C#,Mysql,Asp.net,.net,Mariadb,当我尝试在mydbcontext.edmx中更新模型时,在按“从数据库更新模型”后,我出现以下错误 An exception of type 'SystemArgumentException' occurred while attempting to update from the database. The exception message is: Unable to convert runtime connection string to its design-time equivale

当我尝试在mydbcontext.edmx中更新模型时,在按“从数据库更新模型”后,我出现以下错误

An exception of type 'SystemArgumentException' occurred while attempting to update from the database. 
The exception message is: Unable to convert runtime connection string to its design-time equivalent. 
Connection string: server=localhost;port=3306;database=annotation-web;user id= root;password=12345678'
我已下载并更新了我的连接器,并已从以下位置安装了最新的MySQL:


最初,用于更新模型的向导将弹出,向我显示是否在连接字符串中包含敏感数据的选项,然后在我按下“下一步”时立即关闭(无论我为连接字符串选择了哪个选项)。我做了一些研究,发现我的连接器版本错误,所以我更新了连接器。现在它告诉我“无法将运行时连接字符串转换为其设计时等效字符串”。

很难说,但可能是“server=localhostport=3306”中的“localhost”和“port”之间缺少分号;可能是您手动编辑了连接字符串还是其他原因?@umberto petrov这是我在正确复制错误时犯的错误。否则,它确实包括:;我仔细检查了一下。我现在编辑了我的问题,谢谢