My .env is
APP_NAME=Laravel
APP_ENV=production
APP_KEY=(copied from forge's .env)
APP_DEBUG=false
APP_URL=http://localhost`
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=forge
DB_USERNAME=forge
DB_PASSWORD=(copied from forge's .env)
Is that correct that I'm doing it from mac terminal just by php artisan migrate? Or I have to do this operation after SSHing to server (if yes - how?).
From the above error, it seems, one of the following value is incorrect in environment settings/ .env file:
Please note that Database host should point to the Private IP address of your AWS instance instead of localhost or public IP address.
Also command needs to be run over SSH