I have some users can't log in to the Moodle (2.6) site recently. Before, they could log in successfully. But, in recent weeks, some users reported that when they tried to log in, they got on-screen message "Database connection failed".
I succeeded to use those user accounts to log in to another UAT site which has older data. And the data size of the UAT site is smaller than that of the production site.
Moreover, it takes longer to log in recently. When the password submit button is pressed, the page keeps loading. Other users sometimes can log in to the site while failed in other time.
We use LDAP server for user authentication. Could someone help to point me to the right direction for solving this problem?