From Dev.to
Fix WordPress Database Connection Error
When a site drops to a bare page reading Error establishing a database connection, WordPress has already given up: it never reached the point where it could load a theme, so the screen you see is the...
