• Resolved lelandmcfarland

    (@lelandmcfarland)


    I can sometimes have issues with database connections and I wanted to see if anyone knows of a way to send a message when the connection error happens. I would like to avoid hacking the core code if at all possible. Any help on this would be appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter lelandmcfarland

    (@lelandmcfarland)

    Figured it out. I just created db-error.php in wp-content and added some code that would email me every time a database error occurred. While I was at it, I spruced up the database error message to make it look like the site was just busy rather then there are database problems.

Viewing 1 replies (of 1 total)
  • The topic ‘Getting an email when a Database Connection Error happens’ is closed to new replies.