Hi, I have a problem with moodle, for certain reasons I had to changed the database user password for a installed moodle, the moodle suystem use mysql, I chaged the file config.php and the password in database too, used the sql sentence:
mysql>gran all privileges on moodle.* to moodleuser@localhost identified by 'password';
the query ejecuted succesfully but in the moodle aplication appear the error message:
Error: Database connection failed.
It is possible that the database is overloaded or otherwise not running properly.
The site administrator should also check that the database details have been correctly specified in config.php
I'm sure that moodle use a encrypted algorithm for the user database password,and when I changed the database password manually don't match with the config.php file, the questions are ¿how changue the database user password? ¿how I must encrypt the password for match?.