Installing Moodle 3.1 - Warning: mysqli::mysqli(): (28000/1045)

Installing Moodle 3.1 - Warning: mysqli::mysqli(): (28000/1045)

by mehdi mehdi -
Number of replies: 1

Hi everyone,

I have downloaded Moodle 3.1 and sent it to my OVH Hosting via FTP.

When I enter every needed information and clic install, I get this error : 

Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'xxx'@'xxxx' (using password: YES) in /home/yyyy/www/zzzz/lib/dml/mysqli_native_moodle_database.php on line 79.

Can anyone here help me to solve this problem?

Thank you.

Average of ratings: -
In reply to mehdi mehdi

Re: Installing Moodle 3.1 - Warning: mysqli::mysqli(): (28000/1045)

by Ken Task -
Picture of Particularly helpful Moodlers

Start here:

https://www.ovh.com/us/g1943.managing_a_database_on_a_web_hosting_package

Shows how to not only create a DB for the Moodle, but how to setup a user for that database .... which has to have all privileges to the database for the Moodle.   That's what the error is saying.

When it comes to backend support with OVH:

https://www.ovh.com/us/support/

'spirit of sharing', Ken