WordPress.org

Forums

[resolved] Replacing the "Error establishing a database connection" (2 posts)

  1. philoserf
    Member
    Posted 7 years ago #

    I'm trying to find any source for customizing or replacing the "Error establishing a database connection" message. I'd like to make this my own but haven't found where it lives yet.

  2. dansg
    Member
    Posted 7 years ago #

    You may customize the above message by editing the following file:

    wp-includes/wp-db.php

    It contains the error messages you may experience if there is an issue with your application database.

    Best Regards
    Dan

Topic Closed

This topic has been closed to new replies.

About this Topic