Mysql导入zabbix的sql语句时报错:ERROR 1045 (28000)
生活随笔
收集整理的这篇文章主要介绍了
Mysql导入zabbix的sql语句时报错:ERROR 1045 (28000)
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
#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
总结
以上是生活随笔为你收集整理的Mysql导入zabbix的sql语句时报错:ERROR 1045 (28000)的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: windows下tomcat日志输出至c
- 下一篇: Install Mysql with S