Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Logging in SQL Server as SA

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL query and VBA 5 45
Solar Winds can't see SQL Server Express 17 32
SQL Availablity Groups List 2 7
SQL 2012 clustering 9 11
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…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
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…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

839 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