Why is the following error occurring?
QueryException SQLSTATE[HY000] [1045] Access denied for user \'homestead\'@\'localhost\' (using password: YES)
You can use these commands to solve the problem
php artisan cache:clear php artisan config:clear php artisan config:cache
These commands are use to clear the cache.