Skip to main content

Power BI

Under Review

MySQL over SSH connection

Vote (637) Share
Antons Fedorenko's profile image

Antons Fedorenko on 28 Jan 2015 18:10:27

Comments (165)
Antons Fedorenko's profile image Profile Picture

88b64f0a 1bf3-4cb3-840b-d98cbea9929a on 05 Jul 2020 23:07:17

RE: MySQL over SSH connection

We NEED ssh

Antons Fedorenko's profile image Profile Picture

26b33ea8 2388-4bf6-9f8d-374f75f1be31 on 05 Jul 2020 23:07:09

RE: MySQL over SSH connection

A colleague
(Brock Ferguson) shared this idea with me and it solved my problem to a certain degree. Here's what we would try first:
Create a new EC2 server.

On this server, setup SSH port forwarding to the RDS via your existing public SSH server:

ssh -iprivate_key.pem -L 3306:rds-hostname.aws.com:3306 username@your-existing-ssh-server

You will need to grant access from this SSH server to your other server via a private key.

Restrict access to your new EC2 server to port 3306, and to only the IP(s) used by Power BI.

Connect to MySQL:

host: IP of new EC2 server
username: RDS user
pass: RDS pass
This should work by granting you access to your private network by using your new EC2 server as a bastion server. New EC2 -> existing SSH server -> RDS.

Antons Fedorenko's profile image Profile Picture

53d933f7 9823-48c7-89b8-3eb9f3a1298a on 05 Jul 2020 23:07:02

RE: MySQL over SSH connection

This has been Under Review since 2015, can we please get an update on this?

Antons Fedorenko's profile image Profile Picture

d35bcdd7 2857-4651-99f9-e7b63252f7d7 on 05 Jul 2020 23:03:51

RE: MySQL over SSH connection

ssh please

Antons Fedorenko's profile image Profile Picture

63dd42a2 31f6-46d7-b891-ba969a2aa438 on 05 Jul 2020 23:03:42

RE: MySQL over SSH connection

For the many asking about mysql and ssh, you can tunnel your connection with Putty and then connect to the db like a local db. Can't say much about auto-update of the data or publishing.

I see other softwares using SSL but not SSH

Antons Fedorenko's profile image Profile Picture

54b00829 f4df-4609-b071-b409a19a861c on 05 Jul 2020 23:01:40

RE: MySQL over SSH connection

This would be nice.

Antons Fedorenko's profile image Profile Picture

1f43cba0 6a62-4c12-9ee6-6a8da64c3da1 on 05 Jul 2020 23:01:06

RE: MySQL over SSH connection

SSH is a must. Without it I will need to look at other Software

Antons Fedorenko's profile image Profile Picture

1b2a5421 476b-490b-a888-38d8efce9c00 on 05 Jul 2020 23:00:51

RE: MySQL over SSH connection

SSH required to be usable BI solution

Antons Fedorenko's profile image Profile Picture

acdf42d3 4c50-4080-9a46-71bbaf567c9b on 05 Jul 2020 23:00:49

RE: MySQL over SSH connection

Necesitamos conexión via SSH

Antons Fedorenko's profile image Profile Picture

192df052 5bf3-4d57-b842-d7f6cbaae337 on 05 Jul 2020 23:00:37

RE: MySQL over SSH connection

We need SSH