PDOException SQLSTATE[HY000] [2002] No such file or directory

后端 未结 30 2546
南方客
南方客 2020-11-22 03:23

I believe that I\'ve successfully deployed my (very basic) site to fortrabbit, but as soon as I connect to SSH to run some commands (such as php artisan migrate

30条回答
  •  孤独总比滥情好
    2020-11-22 03:40

    Check your port carefully . In my case it was 8889 and i am using 8888. change "DB_HOST" from "localhost" to "127.0.0.1" and vice versa

提交回复
热议问题