连接时MySQL出现了下面的错误:

Access denied for user ‘root’@’localhost’ (using password:YES)

解决的办法是先停止MySQL服务,在my.ini文件的最下面加入一行:

skip-grant-tables

再启动MySQL服务,就可以了。

 

相关文章:

  • 2021-06-26
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
  • 2021-11-16
  • 2021-07-30
猜你喜欢
  • 2021-04-02
  • 2021-04-03
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
相关资源
相似解决方案