All Apps and Add-ons

How to connect to a non-default instance of MS SQL server from Splunk DB Connect app version 3.1.3?

damode
Motivator

There is already a post for this question but it deals with DB Connect app version 1. I tried to use the same solution but it doesnt seem to work for me.
I am using jtds driver
Can someone please advise how I can create a DB connection to a instance of an SQL Server. I already have configured connection to the default Database. For e.g, I have configured connection to ServerA but unable to configure connection to ServerA\Instance.

0 Karma
1 Solution

damode
Motivator

found the answer,
Below is the format :

jdbc:jtds:<server_type>://<server>[:<port>][/<database>][;<property>=<value>[;...]]

Example: jdbc:jtds:sqlserver://IP:1433/master;instance=SQLEXPRESS;user=sa;password=s3cr3t

View solution in original post

0 Karma

damode
Motivator

found the answer,
Below is the format :

jdbc:jtds:<server_type>://<server>[:<port>][/<database>][;<property>=<value>[;...]]

Example: jdbc:jtds:sqlserver://IP:1433/master;instance=SQLEXPRESS;user=sa;password=s3cr3t

0 Karma

rssimonis
New Member

Does this work if you're not using the JTDS driver?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...