Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
1. you need to establish a tunnel
ssh -i ~/keys/key.pem -N -L 13306:127.0.0.1:3306 [email protected]_ip
2 configure the appropriate connection in the laravel configuration
https://laravel.com/docs/5.8/database# configuration
ssh -i ~/openssh_key -L YOUR_PORT:DATABASE_HOST:DB_PORT [email protected]_HOST
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question