mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

ssh tunnel connections #131

Closed jairoGilC closed 6 years ago

jairoGilC commented 6 years ago

Issue Type

Prerequisites (For bugfixes)

Description

Will be great if ssh tunnel connections was available for, for example connection to production DB

mtxr commented 6 years ago

Have you tried to create a bash script calling the ssh sgdb command?

I mean, something like:

#!/bin/bash
ssh user@server.com mysql $@

I've been using similar solution to run commands directly using a docker cli.

mtxr commented 6 years ago

@jairoGilC just let me know if it works for you.

mtxr commented 6 years ago

Closing due a lack of activity.