Skip to main content
Question

Is it possible to connect to SQL Server database over SSH using FME

  • December 22, 2017
  • 6 replies
  • 128 views

I need to connect to SQL Server database hosted on Azure cloud. It is currently blocked within LAN network and we are looking at option to connect to database over SSH or HTTPS. Is it possible to connect to SQL Server database over SSH using FME?

6 replies

mark2atsafe
Safer
Forum|alt.badge.img+44
  • Safer
  • December 22, 2017

From what I've read, yes, but you need to create an SSH tunnel. This page seems to be a good explanation. Also note we do have a format specific for connecting to Azure (Microsoft Azure SQL Database Spatial (JDBC)) which may work better.


mark2atsafe wrote:

From what I've read, yes, but you need to create an SSH tunnel. This page seems to be a good explanation. Also note we do have a format specific for connecting to Azure (Microsoft Azure SQL Database Spatial (JDBC)) which may work better.

Thanks Mark. Outside of FME, I can connect to Azure SQL Database over SSH channel. However using FME, can I connect Azure SQL Database over SSH channel? Any article how to do it in FME. Currently the Azure SQL Database reader and writer in FME does not allow me to use the SSH tunnel.

 

 


anandakundu wrote:
Thanks Mark. Outside of FME, I can connect to Azure SQL Database over SSH channel. However using FME, can I connect Azure SQL Database over SSH channel? Any article how to do it in FME. Currently the Azure SQL Database reader and writer in FME does not allow me to use the SSH tunnel.

 

 

Do you have a solution to this problem? I'm trying to do the same thing for an RDS


mark2atsafe
Safer
Forum|alt.badge.img+44
shreyanshnawlak wrote:

Do you have a solution to this problem? I'm trying to do the same thing for an RDS

I can only say that it should work OK, although if you are trying to do this through FME Server or FME Cloud, there may be additional setup.

My advice here is to post this as a new question, otherwise not many people will see it. Include as much information as possible such as the database type, your FME platform (Desktop or Server), your FME Version/build number, and what problem occurs (is it an error message, does it hang, or ...?)

If it's a crash or bad error message, I would suggest you contact the Safe support team directly (safe.com/support) as users on this site are unlikely to be able to help fix crashes.

Hope this helps.


helmoet
Forum|alt.badge.img+8
  • November 27, 2020

Hi, I managed to get this working in a VM environment using a Cloud provided Postgis database. Please contact me if still in need.


arthur_bazin
Contributor
Forum|alt.badge.img+12
  • Contributor
  • April 26, 2023

Hi,

In the same topic, this idea talk about ssh connexion for database : https://community.safe.com/s/bridea/a0rDm000000D9J0IAK/write-to-remote-mysql-database-through-ssh

 

I've added a comment to include all kind of database, not just MySQL.

You can vote for this idea if you want.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings