Laravel 6.4.1 SQLSTATE[HY000] [2002] Connection refused

前端 未结 10 2069
隐瞒了意图╮
隐瞒了意图╮ 2021-02-15 14:32

I am new in Laravel development. I have updated Xampp to 7.3.11 on my Mac Mojave 10.14.6. In Laravel project when I hit php artisan migrate command I got following error.

<
10条回答
  •  醉梦人生
    2021-02-15 15:20

    Just simple step i follow and solved

    open .env file

    change DB_HOST = 127.0.0.1 to localhost

    done

提交回复
热议问题