I have a problem with my Laravel project. After cloning the repo from git I did
npm install
composer install
php artisan migrate I have an error:
In Connection.php line 664:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) (SQL: select * from
languageswherestatus= 1)In Connector.php line 70:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
I've added few changes to .env file only
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:q/o7QZeznstW1iBW65t8F7usVPI1oA9osHGaCa6uONU=
APP_DEBUG=true
APP_URL=localhost
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=8889
DB_DATABASE=newDB
DB_USERNAME=root
DB_PASSWORD=root
I am using mamp on mac os for my web environment.

php artisan config:clear?rootas the password? Have you created thenewDBtable and therootuser withrootpassword?