Hi I have just set up my elgg site, however, when I display some contents, like the wire posts, it says
Elgg couldn't connect to the database using the given credentials.
I checked the settings.php in engine folder, I believe I have got everything:
// Database username
$CONFIG->dbuser = 'my_db_username';
// Database password
$CONFIG->dbpass = 'my_db_psw';
// Database name
$CONFIG->dbname = 'my_db_name';
// Database server
// (For most configurations, you can leave this as 'localhost')
$CONFIG->dbhost = 'dbhost';
// Database table prefix
// If you're sharing a database with other applications, you will want to use this
// to differentiate Elgg's tables.
$CONFIG->dbprefix = 'dbprefix_';
Please give me some advice.
Thanks.
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.
- ben@calnastic

ben - 0 likes
- Cash@costelloc

Cash - 0 likes
You must log in to post replies.It seems to me that when there is nothing to display, I get this problem. When I post something to blog, the corresponding error is gone.
If you are occasionally seeing this error, it means that your database server cannot handle many connections. Is it a shared server that is overloaded?