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

前端 未结 5 796
春和景丽
春和景丽 2021-01-12 19:57

Why is the following error occurring?

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

5条回答
  •  甜味超标
    2021-01-12 20:36

    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.

提交回复
热议问题