[OK] Composer Version: 2.1.14
[OK] Dependencies up-to-date.
Could not connect to database, check logs/librenms.log.
And log error massage is :
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [1045] Access denied for user ‘librenms’@‘localhost’ (using password: NO) in /opt/librenms/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
I can’t see the full screenshot but try checking manually on the cli with the mysql tool to see if the details are in fact ok. mysql -u USERNAME -p -h HOSTNAME
I try is can access SQL server and SQL service is run normal.
mysql -u librenms -p -h 127.0.0.1
librenms@l1:~$ mysql -u librenms -p -h 127.0.0.1
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 55182
Server version: 10.3.32-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
Dec 22 14:45:50 l1 systemd[1]: Stopped MariaDB 10.3.32 database server.
Dec 22 14:45:50 l1 systemd[1]: Starting MariaDB 10.3.32 database server…
Dec 22 14:45:51 l1 mysqld[6325]: 2021-12-22 14:45:51 0 [Note] /usr/sbin/mysqld (mysqld 10.3.32-MariaDB>
Dec 22 14:45:51 l1 systemd[1]: Started MariaDB 10.3.32 database server.
Dec 22 14:45:51 l1 /etc/mysql/debian-start[6360]: Upgrading MySQL tables if necessary.
Dec 22 14:45:51 l1 /etc/mysql/debian-start[6363]: Looking for ‘mysql’ as: /usr/bin/mysql
Dec 22 14:45:51 l1 /etc/mysql/debian-start[6363]: Looking for ‘mysqlcheck’ as: /usr/bin/mysqlcheck
Dec 22 14:45:51 l1 /etc/mysql/debian-start[6363]: This installation of MySQL is already upgraded to 10.3.32-MariaDB, use --force if you still need to run mysql_upgrade
Dec 22 14:45:51 l1 /etc/mysql/debian-start[6371]: Checking for insecure root accounts.
Dec 22 14:45:51 l1 /etc/mysql/debian-start[6375]: Triggering myisam-recover for all MyISAM tables and aria-recover for all Aria tables