WordPress database nonsense error

Nevermind, i actually accidentally didnt put back the url in nginx config file so i only had the new url. I wonder why i got a DB error instead of my generic “Nothing to see here” page

error code: 523