Connect to MariaDB over SSH tunnel

Hi everyone, does anybody know how to connect to production DB over ssh
tunnel using rails?

I’m using MariaDB.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs