Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to use SQL Server alias?

Posted on 2011-03-25
4
Medium Priority
?
443 Views
Last Modified: 2012-05-11
I set up a SQL Server Alias 'Appdev' in SQL Server Configuration Manager. And could connect the alias through "sqlcmd -Sappdev -Uusername -Ppassword" from the window server. But I couldn't connect from my PC (XP Windows). How to use SQL Server alias from client?
Thanks!
0
Comment
Question by:luyan
  • 3
4 Comments
 
LVL 14

Expert Comment

by:Daniel_PL
ID: 35216622
On client machine:
click on Start->run (type) cliconfg.exe
clieck on tab alias and define your alias

http://www.mssqltips.com/tip.asp?tip=1620
0
 
LVL 14

Accepted Solution

by:
Daniel_PL earned 2000 total points
ID: 35256941
You can also set up alias in SQL Server configuration manager.
Here's great article about it:
http://www.mssqltips.com/tip.asp?tip=1620

After defining alias you are able to use it instead of server name or address while connecting in ssms.
0
 

Author Closing Comment

by:luyan
ID: 35395489
Thanks!
0
 
LVL 14

Expert Comment

by:Daniel_PL
ID: 35395604
You're welcome ;)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question