0

I am new to eclipse.Can anybody help? how to write connection string (url) in eclipse for jtds to connect to Sql server 2008R2 ?

sachin nikam
  • 31
  • 1
  • 2
  • 3
  • possible duplicate of [Help me create a jTDS connection string](http://stackoverflow.com/questions/1862283/help-me-create-a-jtds-connection-string) – NimChimpsky Nov 28 '11 at 11:10

1 Answers1

0
driverClassName=net.sourceforge.jtds.jdbc.Driver
url=jdbc:jtds:sqlserver://localhost;databaseName=yourDB

duplicated a few other times :

Help me create a jTDS connection string

What is the jTDS JDBC Connect URL to MS SQL Server 2005 Express

Community
  • 1
  • 1
NimChimpsky
  • 46,453
  • 60
  • 198
  • 311
  • I am new to eclipse.Can anybody help? how to write connection string (url) in eclipse for jtds to connect to Sql server 2008R2 ? Server name- .(current) Instance name-SQL2008ex DBName- Sample UserId-sa Pwd-sa – sachin nikam Nov 28 '11 at 10:56
  • can not connect to test Connection.Check Url.Network error IOException:Connection refused:connect. – sachin nikam Nov 28 '11 at 10:59