- 已检查过连接字符串没有错误,使用 HeidiSQL 也可以链接到 docker 的 mysql 容器
- 迁移到 Win Server 下的 mysql 没有任何问题
- 使用 Sqlsugar 能访问到 docker 的 mysql 容器
错误信息
- 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 ---
相关问题
- Docker task in Azure devops won't accept "$(pw
- sqlyog export query result as csv
- NOT DISTINCT query in mySQL
- MySQL: conduct a basic search
- Unable to run mariadb when mount volume
我在 my.cnf 的 mysqld 加上了 skip_ssl 就可以迁移成功
试试安装一下最新版 .net core sdk