Getting Data In

DB Connect Not fetching the schema of mssql server

theouhuios
Motivator

Hello

I am trying to connect DB Connect to a MS SQL server and facing few issues with it.

2014-02-06 11:03:20.774 main:INFO:MicrosoftSqlServer - Registering JDBC driver=net.sourceforge.jtds.jdbc.Driver
}
2014-02-06 11:07:00.710 dbx8201:INFO:DatabaseInfoCommand - Fetching schemas for database=XXX_YY

I have the database.conf config as

[XXX_YY]
database = XXX_YY
host = abc
isolation_level = DATABASE_SETTING
password = xxxxxx
port = 1433
readonly = 1
type = mssql
username = xyz

Any ideas on where I am making a mistake. It works fine with oracle DB's. Is _ creating a problem?

Tags (1)

sroback_splunk
Splunk Employee
Splunk Employee

Hi. There is a known issue (DBX-215) with a space in the database name causing parsing errors with DB Connect commands. See http://docs.splunk.com/Documentation/DBX/latest/DeployDBX/Releasenotes - Not sure if this pertains to names with _ as well.

theouhuios
Motivator

I will test it out without a _ later. For now looks like my issue is more with firewall rules than the issue with configs 🙂 Thanks for your time sroback

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...