一开始

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  也要保持一致

相关文章:

  • 2021-05-04
  • 2022-03-01
  • 2021-06-28
  • 2021-05-05
  • 2021-08-08
  • 2021-09-12
  • 2022-12-23
猜你喜欢
  • 2021-07-12
  • 2021-07-12
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2021-11-29
  • 2021-08-11
相关资源
相似解决方案