Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Connecting to different instance of SQL Server Expand / Collapse
Author
Message
Posted Wednesday, January 21, 2009 8:33 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, January 22, 2009 2:42 AM
Points: 2, Visits: 3
Hi all,

I have installed 2 instance of SQL Server on a same computer . One is a defualt instance and other is named instance:I am able to connect to default instance since it is on port 1433.My named instance is on port 2085.Can any body plz tell me how to connect to this named instance form cmd line and likewise from the SQL Studio .

Regards,

Prasad
Post #640802
Posted Wednesday, January 21, 2009 8:47 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 6:12 AM
Points: 10,910, Visits: 12,553
You need to reference the SQL Server as Server\Instance,Port I believe.



Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #640824
Posted Wednesday, February 13, 2013 12:56 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, February 22, 2013 1:11 AM
Points: 1, Visits: 5
hi Prasand i want to know how to create diffiirent server name instance .
please write in steps. i need for sql server 2008.
please replay me .
Post #1419323
Posted Wednesday, April 10, 2013 12:36 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Wednesday, March 26, 2014 2:52 PM
Points: 46, Visits: 87
prasad-994585 (1/21/2009)
Hi all,

I have installed 2 instance of SQL Server on a same computer . One is a defualt instance and other is named instance:I am able to connect to default instance since it is on port 1433.My named instance is on port 2085.Can any body plz tell me how to connect to this named instance form cmd line and likewise from the SQL Studio .

Regards,

Prasad


Type in the following while connecting to the sql server

ComputerName\NamedInstanceName,2085

Substitute computer name with your computer name and named instance name with your named instance. For example: Prudhvi-PC\SQL2012,2085
Post #1440978
Posted Wednesday, April 10, 2013 1:56 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 5:17 PM
Points: 22,524, Visits: 30,283
Prudhviraj (4/10/2013)
prasad-994585 (1/21/2009)
Hi all,

I have installed 2 instance of SQL Server on a same computer . One is a defualt instance and other is named instance:I am able to connect to default instance since it is on port 1433.My named instance is on port 2085.Can any body plz tell me how to connect to this named instance form cmd line and likewise from the SQL Studio .

Regards,

Prasad


Type in the following while connecting to the sql server

ComputerName\NamedInstanceName,2085

Substitute computer name with your computer name and named instance name with your named instance. For example: Prudhvi-PC\SQL2012,2085


Try it first without the port number. If you haven't assigned a fixed port, it will be dynamically assigned each time the named instanced is started. The SQL Browser service will help you connect to the named instance.



Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
Post #1441003
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse