1、SQLyog连接Linux数据库报错
2、出现这个原因是MySQL8之前的版本中加密规则是mysql_native_password,而在MySQL8之后,加密规则是caching_sha2_password
3、创建远程访问用户命令中加(with mysql_native_password)即可
#创建远程访问用户:
create user 'root'@'%' identified with mysql_native_password by 'root';
#授权当前用户:
grant all privileges on *.* to 'root'@'%';