客户端项目就会偶发性的报错:Authentication to host 'localhost' for user 'myuser' using method 'caching_sha2_password' failed with message: reading from the stream has failed;
在数据库的连接字符串后加上 SslMode=None; 解决了问题
客户端项目就会偶发性的报错:Authentication to host 'localhost' for user 'myuser' using method 'caching_sha2_password' failed with message: reading from the stream has failed;
在数据库的连接字符串后加上 SslMode=None; 解决了问题