Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
490 views
in Q2A Core by

hello,sometimes i am getting this error message when loading my website.

Warning: mysql_connect() [function.mysql-connect]: Too many connections in /home/public_html/mywebsite.com/qa-include/qa-db.phpon line 66

 

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.

I what should i do to avoid this or correct this issue.

Q2A version: 1.5

1 Answer

0 votes
by
You need to speak to your hosting provider about this, to increase the number of simultaneous connections you are permitted.
...