Solved

Cannot find Server Name for MS SQL Server 2008 R2

Posted on 2014-01-14
6
553 Views
Last Modified: 2014-01-14
I just finished installing  MS SQL Server 2008 R2. However I get an error when trying to log in to the Database Engine.  I need the server name.  This is a local installation.

How do I find the server name?

Thanks,
0
Comment
Question by:Dovberman
  • 3
  • 2
6 Comments
 
LVL 25

Assisted Solution

by:Lee Savidge
Lee Savidge earned 150 total points
ID: 39778978
Several ways (assuming the SQL install was on your machine/server and you are on that at the moment)

Use (localhost)

or put a dot . in the server name

Or open a command prompt and type echo %COMPUTERNAME%

Put the output into the server name box.
0
 

Author Comment

by:Dovberman
ID: 39779063
I am running Windows 8.0.

How do I open the command prompt?

Thanks,
0
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 39779068
"Upgrade to Windows 7"

Sorry, couldn't resist that one :)

http://pcsupport.about.com/od/windows-8/a/command-prompt-windows-8.htm
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:Dovberman
ID: 39779118
It's called the PowerShell now.

Still cannot log on.

Server name is needed.
0
 
LVL 22

Accepted Solution

by:
Steve Wales earned 150 total points
ID: 39779158
Check your list of running services (Window+R, services.msc)

SQL Server service is called "SQL Server".  In Parentheses behind that you should see either (MSSQLSERVER) or (hostname\servername) - depending upon what options you specified during the installation.

I will assume that the service is started (but double check please).

If it's MSSQLSERVER, then any of the options specified by Lee Savidge should work.  If it's hostname\servername put that in as the server name.

Rather than saying "Still cannot log on" can you tell us exactly what you've tried and exactly the error messages you're getting ?
0
 

Author Closing Comment

by:Dovberman
ID: 39780013
It is working now.  I re-installed SQL Server.

Thanks for the suggestions
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

759 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now