laravel 运行项目报
SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) 错误
可以重启一下项目
在这里说的是PHP7的环境 php artisan serve (如果占用:php artisan serve --port=8002)
也可以
php artisan cache:clear
php artisan config:clear
php artisan serve(如果占用:php artisan serve --port=8002)