Laravel SQLSTATE[HY000] [2002] Connection refused

前端 未结 10 1408
情深已故
情深已故 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:25

    in your .env file

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=ur_db_name
    DB_USERNAME=ur_db_username
    DB_PASSWORD=ur_dbuser_password
    

提交回复
热议问题