您的位置:首页 > 数据库 > MySQL

mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded

2018-10-04 21:57 861 查看

代码: 

cd "C:\Program Files\MySQL\MySQL Server 8.0\bin"

C:\Program Files\MySQL\MySQL Server 8.0\bin> mysql -u root -p
Enter password: *********

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'newrootpassword';
Query OK, 0 rows affected (0.10 sec)

mysql> exit

来源:https://www.cnblogs.com/zzqc/p/9192217.html 

 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐