The front installed I will not say, degrees Niang on a lot;
The key is this problem, online more, but not found useful;
Issue: Zabbix server is runing No
LOG:/tmp/zabbix_server.log
Connection to database ' Zabbix ' failed: [1045] Access denied for user ' root ' @ ' localhost ' (using Password:no)
Resolution process:
1) Locate the installation directory:
[Email protected] init.d]# Find/-name Fedora
/home/zabbix-2.2.10/misc/init.d/fedora
2) Copy file:
[Email protected] init.d]# cp/home/zabbix-2.2.10/misc/init.d/fedora/core/*/etc/init.d/
3) Modify the Zabbix_server file:
[Email protected] init.d]# pwd
/etc/init.d
[Email protected] init.d]# vim Zabbix_server
Modify the Basedir parameter: The value is your installation directory (this directory contains zabbix_server.conf files)
Basedir=/usr/local/zabbix
4) Modify zabbix_server.conf:
[Email protected] etc]# pwd
/usr/local/zabbix/etc
[Email protected] etc]# vim zabbix_server.conf
Dbhost=localhost
Dbname=zabbix
Dbuser=root-your MySQL user name
dbpassword=123456--Fill it out with your password
dbport=3306
listenip=192.168.136.67--Be careful not to write as localhost
Note: The username and password can be verified with the command: Mysql-u root-p (enter, password)
5) Check log: Vim/tmp/zabbix_server.log
6) Check if the status is yes on the Web page
"Zabbix" Connection to database ' Zabbix ' failed: [1045] Access denied for user ' root ' @ ' localhost ' (using Password:no)