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

后端 未结 30 2547
南方客
南方客 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:58

    In may case, I'd simply used

    vagrant up
    

    instead of

    homestead up
    

    for my forge larval setup using homestead. I'm assuming this meant the site was getting served, but the MySQL server wasn't ever booted. When I used the latter command to launch my vagrant box, the error went away.

提交回复
热议问题