一切福田,不離方寸,從心而覓,感無不通。

uthentication to host '10.0.1.33' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root’@’PCName' (using password: YES)

连接mysql数据时,本机Server写localhost或10.0.1.33都可以连上,但是局域网其他电脑填10.0.1.33正确的用户名密码就报标题中的错误。解决方法如下:
[mysqld]
default_authentication_plugin=mysql_native_password

龙生   20 Jun 2022
View Details