• Resolved shaikhimran77

    (@shaikhimran77)


    I am getting this Error “Establishing a Database Connection” while i am trying to login my website, after few minute Connection establish successfully without doing any thing.

    Can you help me why i am getting this issue again and again.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there

    Since this is an intermittent issue, I suspect the DB is timing out or that there is a spike in load on the server and either Apache or the PHP handler times out ( less likely ). This is very likely to occur on shared hosts. I suggest you speak to your web hosting company and have them give you more memory.

    Also take a look at your MySQL and Apache logs, these can be found in your cPanel / WHM / Control Panel, and share any interesting error messages when this happens here.

    Thread Starter shaikhimran77

    (@shaikhimran77)

    Thanks,

    i will contact web hosting company

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error Establishing a Database Connection in WordPress’ is closed to new replies.