Verified Commit 8d8974a3 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Allow network access for mariadb for prometheus

The prometheus-mysqld-exporter connects over localhost to collect
stats, so networking has to be enabled. mariadb's default is to serve on
0.0.0.0, so change the configuration to serve on localhost.
parent 49df3110
---
mariadb_skip_name_resolve: False
mariadb_skip_networking: True
mariadb_skip_networking: False
mariadb_key_buffer_size: '16M'
mariadb_max_allowed_packet: '16M'
......
......@@ -3,6 +3,7 @@ port = 3306
socket = /run/mysqld/mysqld.sock
[mysqld]
bind_address = localhost
port = 3306
socket = /run/mysqld/mysqld.sock
skip-external-locking
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment