Solved

Logging in SQL Server as SA

Posted on 2015-02-01
3
75 Views
Last Modified: 2015-02-01
Hi,

I have 'control server' permission in SQL Server 2012,
Currently I am trying to assign 'sa' a password in order to log in as 'sa' when there is a need.

 Using SQL Server Management Studio I click on security > log in  and right click sa > properties,
 select the general tab and set the password and confirm it after unchecking the 'enforce password policy' box.
I then click OK and everything seem to be in working fine (no error messages) but when I try to log in with the newly assigned password the log in fails.

Can you help? Thank you

Adam
0
Comment
Question by:adamtrask
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
Mike Eghtebas earned 500 total points
ID: 40582664
During the installation, regardless you have started with windows authentication or Mixed authentication, there is a need to identify a user with admin rights. If you have not installed this instance, then get this user name and its password to work with the database. Or ask the installer to grant you given the rights you need in this instance. SA account by default is disabled to force installer to choose an existing user for system admin role. SA could be enable but it really needs to remain disabled and not used at all (at least this is how it should be in 2012 and later).


Mike


This link may be of some use for you: https://sudeeptaganguly.wordpress.com/2010/04/20/how-to-enable-sa-account-in-sql-server/

post revised...
0
 

Author Comment

by:adamtrask
ID: 40583151
Thank you. That is what I needed.
0
 

Author Closing Comment

by:adamtrask
ID: 40583152
Thank you very much
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

708 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

13 Experts available now in Live!

Get 1:1 Help Now