'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: YES)
这里提示是你的密码没有设置成功,所以你用zabbix用户登录时会报错 mysql grant all on zabbic.* to 'zabbix'@'localhost' identified by '123456'; Query OK, 0 rows affected (0.00 sec)
mysql flush privileges; Query OK, 0 rows affected (0.00 sec) [root@localhost wwwroot]# mysql -u zabbix -p123456 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.1.50-log Source distribution
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.