错误代码: client does not support authentication

 

解决办法:

  1 使用命令行进入数据库

  2 选着数据库  mysql   --> user mysql

  3 alter user 'root'@'localhost' identified with mysql_native_password by '123456'; 

  4 flush privileges; 

 

这样就可以连接了

相关文章:

  • 2021-11-22
  • 2021-08-27
  • 2021-11-13
  • 2021-04-29
  • 2021-04-28
  • 2021-08-03
猜你喜欢
  • 2022-01-03
  • 2023-02-17
  • 2021-10-13
  • 2021-08-11
  • 2022-01-11
  • 2021-06-16
相关资源
相似解决方案