一开始
grant all privileges on zabbix.* to zabbix@localhost identified by 'password';
将localhost改为ip后恢复正常
grant all privileges on zabbix.* to zabbix@128.199.114.243 identified by 'password';
另外要保证 /usr/local/zabbix-2.4.6/etc/zabbix_server.conf
DBUser 和 DBPassword 与数据库和密码保持一致
此外 /data/www1/zabbix/conf/zabbix.conf.php 也要保持一致