Solved

Logging in SQL Server as SA

Posted on 2015-02-01
3
79 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 34

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Building JSON Results Table FROM DB 9 38
Want an individual results display div 8 48
Convert time stamp to date 2 58
sql server major issue  need help 2 52
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.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

730 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