Access denied for user 'homestead'@'localhost' (using password: YES)

前端 未结 29 1714
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 10:23

I\'m on a Mac OS Yosemite using Laravel 5.0.

While in my local environment, I run php artisan migrate I keep getting :

29条回答
  •  無奈伤痛
    2020-11-27 10:31

    i have find solution

    1. Go to your application root directory and open .env file (In ubuntu may be it’s hidden so press ctrl+h to show hidden files) in your editor and change database configuration setting. then save your .env file

    2. then restart your apache server/web server. and refresh your page and you have done

    3. If still issue try to run below command to clear the old configuration cache file.

    This worked for me gl ...

提交回复
热议问题