Virtual Learning Platforms Thread, Moodle Database issues. in Technical; Basically I took over a moodle isntallation that's about 6 years old.
From time to time moodle will go down ...
29th October 2009, 09:20 AM #1
Moodle Database issues.
Basically I took over a moodle isntallation that's about 6 years old.
From time to time moodle will go down and it will come up with the error message
"Error: Database Connection Failed"
I'll restart the server and everything is all good. Are there any logs I can view to see if there is anything that happens just prior to the issue? It seems to happen every two weeks or so so I'm thinking there is something setting it off and I'm not 100% wau fait ith Moodle so want to make sure the issue isn't there.
IDG Tech News
30th October 2009, 02:26 AM #2
it might be your hitting the maximum number of allowed concurrent connections to the database.
20th September 2011, 12:45 PM #3
We periodically hit this problem. admin/dbperformance.php says max connections is 151. I want to change this so I'm looking in xampp/mysql/bin/my.ini but I can't see any connections sections.
20th September 2011, 12:55 PM #4
it should be /etc/my.cnf
Originally Posted by barney
add soemthing like "max_connections = 500 " and do a "service mysqld restart"
20th September 2011, 12:59 PM #5
Thanks CyberNerd but it's Windows...I have added the following to the bottom of the my.ini
Max_Connections = 500
Will see what happens
20th September 2011, 01:04 PM #6
For what it's worth, mine is just under a [mysqld] heading, not [connections].
20th September 2011, 01:14 PM #7
By morganw in forum Virtual Learning Platforms
Last Post: 1st April 2011, 01:51 PM
By tdibb in forum Virtual Learning Platforms
Last Post: 29th July 2009, 01:19 PM
By SimpleSi in forum CLEO
Last Post: 11th February 2009, 10:15 AM
By sidewinder in forum Windows
Last Post: 28th February 2007, 10:37 AM
By StewartKnight in forum *nix
Last Post: 20th January 2006, 02:23 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)