连接MySql时报错MySql Retrieval of the RSA public key is not enabled for insecure connections
在Net6.0连接MySql时出错,提示MySql Retrieval of the RSA public key is not enabled for insecure connections
将使用的账号的密码类型改为mysql_native_password,并在连接链接的后面添加参数allowPublicKeyRetrieval=true即可。


参考文档:https://blog.csdn.net/hefeng_aspnet/article/details/124319530

浙公网安备 33010602011771号