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

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

    All these answers seem like heavy lifting...

    I just created a .env file; edited my bootstrap/app.php file, and uncommented the following line...

    Dotenv::load(__DIR__.'/../');

    Hope this helps someone

提交回复
热议问题