How to fix the terrible WordPress Error establishing a database connection

If you are reading this article, you may have just encountered the terrible “error in establishing database connection” (EEDC). As a WordPress website owner, seeing a blank screen with an error message is one of your worst nightmares. Please be assured that we can help you solve the problem.