56,803
社区成员




Mysql 社区版 8.0.40,在Windows 10下使用,有多张网卡多个局域网,C# .net 6.0程序使用Mysql.Data v8.4.0。
Mysql使用caching_sha2_password,my.ini配置为127.0.0.1。
Mysql与运行程序在同一台电脑上,程序一直正常使用,偶尔会出程序无法连接Mysql:Authentication to host '127.0.0.1' for user 'root' using method 'caching_sha2_password' failed with message: Reading from the stream has failed.
当插上无线网卡能连接外网时,程序又可以可以正常连接mysql。
是什么问题所导致此问题?该如何解决?