Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix LAMP setup with nginx, Get Randomly, “Error Establishing a Database Connection”

Discussion in 'Misc WordPress Requests' started by Vy0m, Feb 16, 2018.

  1. Vy0m

    Guest

    LAMP setup with nginx, Get Randomly, “Error Establishing a Database Connection”, by Vy0m

    I am not an expert, but I do host a few wordpress site on a LAMP stack with nginx web server. Following is the configuration:


    • Debian 8.9 x64
      nginx 1.6.2
      PHP 5.6.30
      mysql 15.1
      host: Digital Ocean

    Since a few months I randomly get the error “Error Establishing a Database Connection” almost every 24 hours. So I open terminal and reboot the server after logging in via ssh. Almost everyday when the site goes down I reboot, and the sites comes back on. I am not able to find how to start troubleshooting.

    Please help

    LAMP setup with nginx, Get Randomly, “Error Establishing a Database Connection”
     
    #1

Share This Page

Monarch Social Sharing Plugin