Laravel SQLSTATE[HY000] [2002] Connection refused

前端 未结 10 1405
情深已故
情深已故 2020-12-18 20:44

so I want to deploy my existing laravel porject into my digitalocean vps I user this tut and I upload my site successfully

also my env file is

APP_E         


        
10条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-18 21:29

    In your .env file, change DB_HOST from 127.0.0.1 to localhost

提交回复
热议问题