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_ENV=local
APP_KEY=my app key
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=my ip
DB_PORT=3306
DB_DATABASE=form
DB_USERNAME=root
DB_PASSWORD=my pass
but here is the problem
I used mysql and created and ran php artisan migrate
and got these errors
what is the problem
[Illuminate\Database\QueryException] SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_s chema.tables where table_schema = form and table_name = migrations)
and
[PDOException] SQLSTATE[HY000] [2002] Connection refused
.env
file? – Saumya RastogiConnection refused
the error it just can't connect, maybe your user doesn't have enough access and etc. – Froxz