当前位置:   article > 正文

ef 数据迁移mysql_关于使用 dotnet ef 迁移到 docker mysql 容器的疑问

system.invalidoperationexception:鈥淎n exception has been raised that is like

PS E:\jincai.qiu\dev\repos\ConsoleApp1\ConsoleApp1> dotnet ef database update

Build started...

Build succeeded.

The EF Core tools version '3.1.0' is older than that of the runtime '3.1.3'. Update the tools for the latest features an

d bug fixes.

An error occurred using the connection to database '' on server '192.168.255.100'.

System.InvalidOperationException: An exception has been raised that is likely due to a transient failure. Consider enabl

ing transient error resiliency by adding 'EnableRetryOnFailure()' to the 'UseMySql' call.

---> MySql.Data.MySqlClient.MySqlException (0x80004005): SSL Authentication Error

---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.

---> System.ComponentModel.Win32Exception (0x80090302): 要求的函数不受支持

--- End of inner exception stack trace ---

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/寸_铁/article/detail/891853
推荐阅读
相关标签
  

闽ICP备14008679号