Zabbix Monitoring Tool Database Connection issue

荒凉一梦 提交于 2020-01-30 10:46:28

问题


I am trying to install Zabbix Monitoring server on Linux Cent OS 6.x. I have installed Zabbix 2.4 version on it. I have followed the following article of Zabbix to configure it:

https://www.zabbix.com/documentation/2.4/manual/installation/install_from_packages

Once I reach at IPAddress/zabbix at browser settings, I have successfully passed PHP settings and configuration stage.

But, when I go to next steps where I have to apply database settings, it is not working. However, I have created required database with permissions, and imported schemas too.

I have checked all required services and they are running fine too. Although I have restarted all the services, rebooted server many times.

Error Message: Error in establishing database connection

Does anyone have solution of it?

Thanks,

Sandeep Gandhi


回答1:


Edit /etc/zabbix/web/zabbix.conf.php file for $DB['TYPE'] , $DB['SERVER'], $DB['PORT'], $DB['DATABASE'], $DB['USER'] and$DB['PASSWORD'] items.



来源:https://stackoverflow.com/questions/30702868/zabbix-monitoring-tool-database-connection-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!