My CP forgets database passwords

After I create a database, everything works fine for several days and sometimes weeks. Then I get a server error and the Hestia log tells me the script can’t access the database.

When I re-enter the database password on the CP, everything goes well for a few more days, or sometimes weeks, then it happens all over again. If I go to another database client (Admirer), it tells me the database can’t be accessed.

I have several operational and test sites, but sadly I have to check each one daily to see if they’re still working.

The problem started a few months ago when Hestia did an automatic(?) upgrade.

Is anyone else experiencing this problem and do you know how to fix it?