1、Access denied for user 'root'@'localhost' (using password: YES)

1、service mysqld stop停止mysql服务器

2、find / -name my.cnf 查找mysql配置文件的位置打开

3、在[mysqld]后添加skip-grant-tables

4、启动mysql :service mysqld start

linux mysql报错Access denied for user 'root'@'localhost' (using password: YES)

 

相关文章:

  • 2022-02-17
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2021-04-09
  • 2021-09-08
  • 2021-11-23
猜你喜欢
  • 2021-10-10
  • 2021-09-11
  • 2021-07-03
相关资源
相似解决方案