From 966081ebfc5e153aef725b065a2c64681e748c96 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Wed, 3 Jun 2026 15:31:27 +0900 Subject: [PATCH] bicep/mysql: enable userstat --- hosts/bicep/services/mysql/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/bicep/services/mysql/default.nix b/hosts/bicep/services/mysql/default.nix index dcff54a..a162053 100644 --- a/hosts/bicep/services/mysql/default.nix +++ b/hosts/bicep/services/mysql/default.nix @@ -23,6 +23,9 @@ in bind-address = values.services.mysql.ipv4; skip-networking = 0; + # Useful for the mysqld prometheus exporter + userstat = 1; + # This was needed in order to be able to use all of the old users # during migration from knakelibrak to bicep in Sep. 2023 secure_auth = 0;