From 37988926921ee053971eeeba0447f84690936268 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 4 Jul 2025 13:14:43 +0200 Subject: [PATCH] feat: define database location --- templates/zabbix/zabbix.conf.php.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/zabbix/zabbix.conf.php.j2 b/templates/zabbix/zabbix.conf.php.j2 index 4f41b70..c480761 100644 --- a/templates/zabbix/zabbix.conf.php.j2 +++ b/templates/zabbix/zabbix.conf.php.j2 @@ -6,8 +6,8 @@ $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG; // database - general $DB['TYPE'] = 'MYSQL'; -$DB['SERVER'] = 'localhost'; -$DB['PORT'] = '0'; +$DB['SERVER'] = '127.0.0.1'; +$DB['PORT'] = '3306'; $DB['DATABASE'] = '{{ zabbix_server_db_name }}'; $DB['USER'] = '{{ zabbix_server_db_user }}'; $DB['PASSWORD'] = '{{ zabbix_server_db_pass }}';