Poller service sql connexion error

Hi All,

I’m trying to configure the new poller service “librenms-service.py”
But when I launch it I have this error :
-bash-4.2$ /opt/librenms/librenms-service.py -d
MainThread(INFO):Configuring LibreNMS service
MainThread(INFO):Attempting to load .env from ‘/data/librenms/.env’
mazrnsmmadm072(INFO):Attaching signal handlers on thread mazrnsmmadm072
mazrnsmmadm072(INFO):Using pure python SQL client
mazrnsmmadm072(CRITICAL):ERROR: Could not connect to MySQL database! (1045, “Access denied for user ‘librenms’@’::1’ (using password: YES)”)
(1045, “Access denied for user ‘librenms’@’::1’ (using password: YES)”)

The .env file is populate with the right data

Vincent

The validate output:
-bash-4.2$ ./validate.php

Component Version
LibreNMS 1.41-18-g3388741
DB Schema 253
PHP 7.2.7
MySQL 10.2.16-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2

====================================

[OK] Composer Version: 1.6.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

So I solve the PB, I have to allow the librenms user to acces mysql using ipv6 localhost

Vincent