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
- 下一篇: 周志华 机器学习 笔记