client does not support authentication
1、cmd窗口登陆mysql:mysql -u root -p
2、Enter password:输入你设置过的数据库密码;
3、mysql> alter user ‘root’@‘localhost’ identified with mysql_native_password by ‘1234’;
Query OK, 0 rows affected (0.07 sec)

mysql> flush privileges;

Query OK, 0 rows affected (0.02 sec)

client does not support authentication

相关文章:

  • 2021-11-01
  • 2021-09-25
  • 2021-07-11
  • 2021-05-17
  • 2021-08-23
  • 2021-05-08
  • 2021-06-12
猜你喜欢
  • 2021-08-11
  • 2021-07-14
  • 2021-07-25
相关资源
相似解决方案