1
resposta

[Bug] fatal Error - Access denied for user 'root'@'localhost' (using password: YES)

Alguem ja teve esse erro conectando o banco de dados?

Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\blog\config.php:3 Stack trace: #0 C:\xampp\htdocs\blog\config.php(3): mysqli->__construct('localhost', 'root', 'root', 'blog') #1 C:\xampp\htdocs\blog\index.php(3): require('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\blog\config.php on line 3

1 resposta

Bom dia! Camila

As configuraçoes do banco estão corretas?