Try leaving out the port number and just use instance name. It is one or the other, but not both.
-----Original Message-----
From: gsha89@users.sf.net To: 129584@discussion.jtds.p.re.sf.net Cc: Sent: 2015-03-06 03:33:50 GMT Subject: [jtds:discussion] SSH Tunneling to connect SQL Server Instance
I am struggling to connect SQL Server instance via SSH. Normally, i can connect to SQL Server default instance(ie, not specifying instance name) via SSH Tunneling using below command:
Try leaving out the port number and just use instance name. It is one or the other, but not both.
-----Original Message-----
From: gsha89@users.sf.net
To: 129584@discussion.jtds.p.re.sf.net
Cc:
Sent: 2015-03-06 03:33:50 GMT
Subject: [jtds:discussion] SSH Tunneling to connect SQL Server Instance
I am struggling to connect SQL Server instance via SSH. Normally, i can connect to SQL Server default instance(ie, not specifying instance name) via SSH Tunneling using below command:
ssh -L <LocalPort>:<SQLServerHost>:<SQLServerPort> <UserName>@<SSHHostName> -N
JTDS Connection String:
jdbc:jtds:sqlserver://<hostName>:<port>/<databaseName>;instance=<instanceName>;
How can i connect specific SQL Server Instance using SSH Tunneling? Anyone Help me on this.
Thanks, Ganesan
SSH Tunneling to connect SQL Server Instance
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/jtds/discussion/129584/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/