Database error

Hello

I got this error
SQLSTATE[HY000] [1045] Access denied for user ‘librenms’@‘localhost’ (using password: YES)

i can connect from server console to database. config.php is right also .envo

can someone help me please?

Thanks

I had the same issue this morning and it was from a # in my .env file for one of my passwords. I just updated the password and restarted everything to get it back to working. Also, see SQLSTATE[HY000] [1045] Access denied for user 'librenms'@'localhost'.

I try everything. change passwd restart all and again some problem

can u try in your .env

password whit ‘<pass_here>’
so the quotes

So, I think the problem is our .env library stopped trimming spaces.

Remove all spaces in your .env file that aren’t intended.

If that doesn’t work, let me know and then try putting quotes around your password.

i try with 'passwd in enw not work

APP_KEY=blabla

DB_HOST=localhost
DB_DATABASE=blabla
DB_USERNAME=blabla
DB_PASSWORD=blabla

#APP_URL=
NODE_ID=blabla
DB_PORT=3306
LIBRENMS_USER=blabla’

quotes around the password fixed mine.

yes, try
DB_PASSWORD=‘blabla’