I tranferred my site from one server to another and I am now receiving this message sometimes, both when trying to access pages and in the widgets when viewing profiles of members. It doesn't happen all the time and the problem can be corrected by doing a page refresh, but it does create problems especially after typing a message or a blog and receiving it. Does anyone know what I can do about it?
<!-- display any system messages -->
Elgg couldn't connect to the database using the given credentials.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Cash@costelloc
Cash - 0 likes
- Mike@amicableyetti
Mike - 0 likes
- Cash@costelloc
Cash - 0 likes
You must log in to post replies.This happens when all the connections to the database are used up. Elgg needs to create a better error message for this.
You'll need to adjust your MySQL configuration. Also, if you're not using my Eager widgets plugin, you probably should be - it will reduce the number of db connections required for profile pages significantly.
Thanks for your help. I just downloaded your plugin and will install it. If seperate database connections are no longer necessary for every widget, that will help significantly. How/where would I adjust my MySQL configuration as you suggest? Do I need to add an additional database?
http://dev.mysql.com/doc/refman/5.1/en/too-many-connections.html