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

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

    If anyone are still looking for the answer, just check your .env file. For some reason laravel create a .env.example file, so all this answers didn't work for me. I fixed my issue renamming .env.example to .env

提交回复
热议问题