I’m attempting to install LibreNMS on a Ubuntu Server Vmware VM, everything was going along smoothly following the directions found here (Installing LibreNMS - LibreNMS Docs) until i reached the Web Installer portion. I’m accessing the installer on a system on the same network as the Ubuntu Server and the Installer loads but i’m receiving error SQLSTATE[HY000] [2002] Connection refused when attempting to connect. I’ve confirmed the password i’m entering is correct and the port matches what’s in the librenms.conf. Not sure where to go from there.
librenms@gs-pa-ubuntu-prod:~$ ./validate.php
| Component | Version |
|---|---|
| LibreNMS | 22.2.1-3-g249e5e69b |
| DB Schema | Not Connected (0) |
| PHP | 7.4.3 |
| Python | 3.8.10 |
| MySQL | ? |
| RRDTool | 1.7.2 |
| SNMP | 5.8 |
| ==================================== |
[OK] Composer Version: 2.2.6
[OK] Dependencies up-to-date.
Could not connect to database, check logs/librenms.log.