Package: prometheus-mysqld-exporter
Version: 0.14.0-1+b1
Severity: normal

Dear Maintainer,

in /etc/default/prometheus-mysqld-exporter it is written

> [...]
> ### Monitoring user creation.
> #
> # You need a user with enough privileges for the exporter to run.
> #
> # Example to create a user to connect (only) via UNIX socket:
> #   CREATE USER IF NOT EXISTS 'prometheus'@'localhost' IDENTIFIED WITH
auth_socket;
> #
> [...]

However, when you will follow this advice you will get the error message

> /* SQL Error (1524): Plugin 'auth_socket' is not loaded */

That's because in MariaDB 10.4.3 and later, "auth_socket" was replaced
by "unix_socket".

I would suggest to update the default config file.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages prometheus-mysqld-exporter depends on:
ii  adduser              3.123
ii  init-system-helpers  1.64
ii  libc6                2.33-8

prometheus-mysqld-exporter recommends no packages.

Versions of packages prometheus-mysqld-exporter suggests:
ii  default-mysql-server                        1.0.8
ii  mariadb-server-10.6 [virtual-mysql-server]  1:10.6.8-1

-- Configuration Files:
/etc/default/prometheus-mysqld-exporter changed [not included]

-- no debconf information

Reply via email to