Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.2k views
in Q2A Core by
From time to time my website show the following error :

Could not establish database connection. Please check the username, password and hostname in the config file, and if necessary set up the appropriate MySQL user and privileges.

and it resolved when I refresh the page
by
You found out what was the cause of the problem?

1 Answer

+2 votes
by
These kind of errors are usually generated due to issues with the hosting providers. In this particular case, it could be that the database connections are exceeding the server limits, which results in downtime. It is unrelated to Q2A.
by
my web site traffic is 65000 PV and 12000 UV \day do you suggest upgrade ti VPS hosting ?
by
No, it does not depend on the server. On the local server, I also see this error.
...