Followed the guide to setup LibreNMS, but I get a MySQL error

I get the following error when I try to navigate to LibreNMS.

MySQL Error

Access denied for user ‘librenms’@‘localhost’ (using password: NO)

I think I forgot to change the password when setting up MySQL i kept it . What is the correct way to change the password for LibreNMS?

Relevant step below.

CREATE DATABASE librenms;
GRANT ALL PRIVILEGES ON librenms.*
TO ‘librenms’@'localhost’
IDENTIFIED BY ‘’
;
FLUSH PRIVILEGES;
exit

1 Like

Once I change the password for mysql how do I update it for LibreNMS?

Just edit config.php and set $config['db_pass'] = '';

1 Like