Installation Moodle connection error with database

Asked

Viewed 1,612 times

2

I’m trying to install the local Moodle, never messed with it I’m following a step by step but this giving the following error:

inserir a descrição da imagem aqui

Where can I check if my BD user is really root and no password?

Thank you.

ERROR

Error: Connection to database failed

It is possible that the database is overloaded or not functioning properly

The site administrator should also check whether the database data data were correctly specified in config.php

Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /Users/usuario/Projects/Moodle/lib/dml/mysqli_native_moodle_database.php on line 79

  • @rray edited the question and put the error

  • Can you connect in mysql with which user and password? The default configuration of Moodle must be different from yours.

  • Then I can enter phpmyadmin created the comic there, but entering right without user and password, maybe you are already saved and I do not remember =/ @rray

  • In the phpmyAdmin folder, try to find this file config.inc.php there has a user and password setting, use this for the Moodle, should work. It can be based on that question

  • 1

    @rray gave certooo man ... puts as an answer, I took the data there from the archive and it worked out all right. Thank you very much.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.