Using a Ms Sql 2005 named instance...
Dear Sirs:
Is there a way to connect to a Microsoft SQL Server 2005 that is installed as a named instance? Something like:
driverName=net.sourceforge.jtds.jdbc.Driver
connectionUrl=jdbc:jtds:sqlserver://SQLSERVER\NamedInstance:1433/TeamCity
connectionProperties.user=TeamCity
connectionProperties.password=******
I found some information here:
http://jtds.sourceforge.net/faq.html#instanceName
Thanks in advance for your help.
Luke Lanphear
Please sign in to leave a comment.
Luke Lanphear wrote:
As JTDs documentaion says - either append ?instance=name to URL or
you can add to custom properties via
connectionProperties.instance=name
--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
SS has some server side code that redirects named instance connection requests to the port number of the desired instance.
You can skip this step by connecting to the port number directly.
Using SS Management studio
I use the M$ provided JDBC Driver and this method regularly to connect to named instances of the SS db to run test scenarios.