SQLyog连接Linux中的MySQL8出现2058错误

# mysql -u root -p
Enter password:
mysql>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

'password’为MySQL的登录密码。

猜你喜欢

转载自blog.csdn.net/qq_40572277/article/details/85994375