Skip to content
Advertisement

can not access to database in moodle

I am using moodle and I change location of my web site, but I am facing this error.

My config.php is:

JavaScript

And my error is:

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

Advertisement

Answer

Thanks to everyone.

My problem is solved. I had not set the right permission to my database, for my user, and when I did it my problem was solved.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement