• Post Reply Bookmark Topic Watch Topic
  • New Topic

Configure JDBC Server Url  RSS feed

 
Lipe Shtogu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
Can anyone help me configuring sql url?
The purpose is to connect one app that works online to the web server database
Thanks
 
Nam Ha Minh
Ranch Hand
Posts: 515
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry I cannot answer you exactly, because it depends on the type of database system you want to connect to.
But this may help you:

JDBC's database connection URLs for common databases:

http://www.codejava.net/java-se/jdbc/jdbc-database-connection-url-for-common-databases
 
Lipe Shtogu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SQL Server 2008
 
Ron McLeod
Saloon Keeper
Posts: 1564
222
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on which JDBC driver you are using. Here are two that I have worked with - there may be others:

SourceForge Driver
driver classname: net.sourceforge.jtds.jdbc.Driver
URL: jdbc:jtds:sqlserver://server.domain


Microsoft Driver
driver classname: com.microsoft.sqlserver.jdbc.SQLServerDriver
URL: jdbc:sqlserver://server.domain
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!