mysql8.0 Authentication plugin 'caching_sha2_password' cannot be loaded

代码: 

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 

 

相关文章:

  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2021-10-29
  • 2021-04-07
  • 2022-01-14
猜你喜欢
  • 2021-12-18
  • 2021-04-05
  • 2021-04-06
  • 2021-11-09
相关资源
相似解决方案