-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
4.4.0
-
None
-
Centos7
The MySQL template does not work by creating a .my.cnf conf in /var/lib/Zabbix.
It only works if you add in userparameter_mysql.conf paramters -u"user" -p"password"
For example:
UserParameter=mysql.ping[*], mysqladmin -u"root" -p"mypassword" -h"$1" -P"$2" ping
In server logs I see:
noname.xml:1: parser error : Start tag expected, '<' not found noname.xml:1: parser error : Start tag expected, '<' not found ERROR 1045 (28000): Access denied for user 'zabbix'@'localhost' (using password: ^ ERROR 1045 (28000): Access denied for user 'zabbix'@'localhost' (using password: ^ noname.xml:1: parser error : Start tag expected, '<' not found ERROR 1045 (28000): Access denied for user 'zabbix'@'localhost' (using password:
Frankly I have no ideea from where he takes username zabbix
- duplicates
-
ZBX-16626 Fix HOME issues with Template DB MySQL
- Closed