database connection failure

database connection failure

by shahin ghanei -
Number of replies: 7

When around 20 users log in at around the same time, an error message is reported and moodle fails.

Does anyone know why this problem occurs?

Attachment moodle.jpg
Average of ratings: -
In reply to shahin ghanei

Re: database connection failure

by Satish maurya -

Hi shahin

can you attach or paste config.php file contents.

Thanks

satish

In reply to Satish maurya

Re: database connection failure

by shahin ghanei -
i haven't got access to them but i can arrange to get it for you. If the problem hasn't been fixed i will get back to you in the next few days.

Thanks 
In reply to Satish maurya

Re: database connection failure

by shahin ghanei -
here is the config.php file. There's not much in it and the username and passwords have been blanked out. I hope it helps
In reply to shahin ghanei

Re: database connection failure

by shahin ghanei -
they think it's the mysql server. But know one is sure. I have a workshop to run with students and need them to all log in at around the same time.
In reply to shahin ghanei

Re: database connection failure

by Iñaki Arenaza -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Hava a look at this:

    http://moodle.org/mod/forum/discuss.php?d=21279#101082

Saludos. Iñaki.
In reply to Iñaki Arenaza

Re: database connection failure

by shahin ghanei -
thanks alot for that, It really helped. I will get someone to have a look at it.
In reply to shahin ghanei

Re: database connection failure

by N Hansen -
This was happening to me, at the same time every week. We never did figure out what was happening, but it definitely wasn't from Moodle, as in the end I asked my host to move me to a different server, and the problem was solved.