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.

http://www.postgresql.org/docs/9.3/static/ssh-tunnels.html
https://dev.mysql.com/doc/workbench/en/wb-manage-db-connections-ssh.html

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