Solved

Logging in SQL Server as SA

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Webservices in T-SQL 3 30
SQL Insert parts by customer 12 31
Query Syntax 17 32
Sql server, import complete table, using vb.net 9 32
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how the fundamental information of how to create a table.

813 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

14 Experts available now in Live!

Get 1:1 Help Now