使用SQLyog链接数据库报错(Plugin caching sha2 password could not be loaded)

17 阅读1分钟

image.png

解决方法: 在数据库中执行语句: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';

FLUSH PRIVILEGES;