Composer update of Laravel

Viewed 39

I am getting SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' error while running composer update command. My .env file settings is like below.

DB_CONNECTION=mysql 
DB_HOST=127.0.0.1 
DB_PORT=3306 
DB_DATABASE=wolf 
DB_USERNAME=root 
DB_PASSWORD=root

I am getting below error.

enter image description here

0 Answers
Related