WordPress Database error: can't connect

Hello guys. I was working on my website as I usually do, editing some pages. Suddenly, the update was stuck and I got en error page “can’t connect to the database”. When I try to visit my website, I get another error page, stating error establishing a database connection. What to do? I really don’t want all my content to get lost this way. Thank you.

Likely rate limiting, don’t change anything - just wait it out.