Error establishing a database connection?

I have no idea my page shows"Error establishing a database connection"very often.almost everyday.

Please suggest me a solution.

1 Reply

Its as it says, there is an error connecting to the database, there could be many reasons for it. If it is working at other times then you will need to have a look in the logs and see if there is anything notable. Also, consider that there is a lack of memory.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct