#Warning: Using a password on the command line interface can be insecure.
#ERROR 1045 (28000): Access denied for user 'zabbix'@'localhost' (using password: YES)

解决:

    mysql -uroot -e"delete from user where user=' ';" #删掉空用户
    mysql -uroot -e"flush privileges;"         #刷新权限 

PS:我的root没有设置密码。。。。

参考:http://blog.csdn.net/jiaping0424/article/details/51253202

相关文章:

  • 2021-12-21
  • 2021-06-27
  • 2022-12-23
  • 2021-07-30
  • 2021-11-10
  • 2021-08-29
  • 2021-12-06
猜你喜欢
  • 2021-10-25
  • 2021-11-06
  • 2021-12-06
  • 2021-11-28
  • 2021-10-26
  • 2021-07-30
  • 2021-04-18
相关资源
相似解决方案