How to set up connection to MySQL database through SSH Tunnel in Laravel Sail
I recently ran into a situation, where I had to connect to MySQL database from within a Laravel app in Laravel Sail via SSH tunnel. Specifically, in the app I'm working on (legaldocsforge.com), I am caching prompts to Chat GPT API in the database sha...
annissimo.com6 min read