Splunk Search

What's wrong from jdbc config?

hjs123
New Member

Hi.
I want to collect for the ms-sql data.
but, the following error occurs.
I do not know the cause.
What's wrong ?

++++++++++++++ query.properties ++++++++++++++++++++++++++++++++++++++++++++++++++++++
connectionString=jdbc:sqlserver://10.1.1.10;instanceName=STEST;databaseName=master;
username=t_test
password=test123
driverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver

++++++++++++++ error log ++++++++++++++++++++++++++++++++++++++++

2012-07-17 11:32:18,941 0 [main] ERROR com.splunk.jdbcscriptedinput.Main - com.microsoft.sqlserver.jdbc.SQLServerException: The connection to the named instance has failed. Error: java.net.SocketTimeoutException: Receive timed out.

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Verify the connectionString. AFAIK, SQL Server no longer uses instance names. Instead server instances are specified by port number (sqlserver://10.1.1.10:10100).

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...

Security Highlights | January 2023 Newsletter

January 2023 Splunk Security Essentials (SSE) 3.7.0 ReleaseThe free Splunk Security Essentials (SSE) 3.7.0 app ...

Platform Highlights | January 2023 Newsletter

 January 2023Peace on Earth and Peace of Mind With Business ResilienceAll organizations can start the new year ...