0
votes

I don't understand how to fix this problem. what should i do witthon connection.php and connector.php file In Connection.php line 664:

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES ) (SQL: select * from information_schema.tables where table_schema = STDHUB and table _name = migrations)

In Connector.php line 67:

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES )

2
do you have correct settings on your .env file?kapitan

2 Answers

1
votes

It indicates that you're using wrong credentials to connect to MySQL.

Check your MySQL credentials, for example:

username: root
password: secret

Then you should change the value in your .env in your Laravel project folder. If .env does not exist, copy a new one from your .env.example.

DB_USERNAME=root
DB_PASSWORD=secret
0
votes

Please check DB_User , DB_PWD in your .env file