connection - How to connect MS SQL Server Express Edition with Splunk DB Connect v1? -


i trying connect microsoft sql server 2012 express edition splunk db connect v1 through gui following information:

name- rsd(name given identify uniquely in splunk)  database type - microsoft sql server  host - ip address of own system since database running locally  port - 1433  username - sa  password - password used sql server authentication  additional jdbc parameters - usecursors=true 

when click on fetch database names. gives error java.sql.sqlexception: network error ioexception: connection refused: connect.

or, entered database name manually:

database - name of database , click on save then, gives same error above.

i have found following logs in dbx.log file

enter code here 2015-04-29 09:34:33.164 dbx7826:info:bridgesession - executing bridge command: bridgeexecutioninfo{classname=com.splunk.dbx.info.databaselist} 2015-04-29 09:34:35.223 dbx7826:error:databaselist - error fetching database catalogs: java.sql.sqlexception: network error ioexception: connection refused: connect java.sql.sqlexception: network error ioexception: connection refused: connect @ net.sourceforge.jtds.jdbc.jtdsconnection.<init>(jtdsconnection.java:436) @ net.sourceforge.jtds.jdbc.driver.connect(driver.java:184) @ java.sql.drivermanager.getconnection(unknown source) @ java.sql.drivermanager.getconnection(unknown source) @ com.splunk.dbx.sql.type.impl.abstractdatabasetype.connect(abstractdatabasetype.java:139) @ com.splunk.dbx.sql.type.impl.microsoftsqlserver.connect(microsoftsqlserver.java:85) @ com.splunk.dbx.sql.type.impl.abstractjtdsdatabasetype.listcatalogs(abstractjtdsdatabasetype.java:48) @ com.splunk.dbx.info.databaselist.invoke(databaselist.java:34) 

i have looked through related answers find, no luck.

some , insight appreciated.

i have tried windows authentication domain/password.the error resolved windows firewall blocking port 1433.just make sure browser services running , sql services running ,allow port 1433.it works


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -