Could not connect to the database

Digging a bit deeper, I found an old post that looks similar:

But obviously without know the specific script your trying to set up, I can’t say for certain if its the same problem