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

前端 未结 29 1719
爱一瞬间的悲伤
爱一瞬间的悲伤 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:44

    Log into MYSQL - use the mysql database.

    Select * from User;

    Make sure that your HOST column is correct. It should be the host that you are connecting from (your application server) be it IP address, or DNS name. Also '%' will work (meaning wildcard) but will not be secure.

提交回复
热议问题