myesn

myEsn2E9

hi
github

ABP: 连接 MySQL 8.0 报错 Authentication method 'caching_sha2_password' failed

简单记录下。这个错误跟 ABP 无关,但为了分类笔记,我将他与 ABP 关联一下吧。

ABP 用的 MySQL ORM 是 Pomelo.EntityFrameworkCore.MySql

解决办法,在连接字符串中添加:

SslMode=Preferred;
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.