Log in to SQL server2008 using the set SA user

Source: Internet
Author: User
Tags management studio

A small problem in the process of adding a database to the net project today is that the use of SQL Server Authentication has not been successful, and after some debugging, the problem is finally resolved.

To sign in to SQL Server 2008 using the SA account, follow these steps:

1. First turn on the computer, open SQL Server 2008, and use Windows authentication.

2. Successfully log in to SQL server2008, find security-login name, "sa" right click Select "Properties", first set the SA password, "Enforce password enforcement policy" tick.

3. Then select the Status property under the Properties page to allow the connection to the database engine to be set to authorize, and the login setting to Enabled.

4. After setting the above properties, select OK. Now go to set another important setting. Right-click the database engine, select Properties, select Security under the Properties page, select Server Authentication as SQL server and Windows Authentication mode, and click the OK button.

5. After the above steps are complete, now we look under, "sa" on the downward Red arrow number is still in, if the description is not set successfully. Because I have set up, so the "SA" account can be successfully landed.

6. After the above steps successfully set up, enter the password, click on the connection, you can successfully login system.

7. If you are still unable to log in, you can check to see if the service has been turned on, open SQL Server Configuration Manager

8. Click on the SQL Server network configuration to set the named Pipes and TCP/IP two protocols to start

9. Click the SQL Server service, restart SQL Server (SQLEXPRESS), and then open Management Studio using the sa login

Note: The above steps are set on SQL server2008, other SQL Server version databases are set up in a similar way

Log in to SQL server2008 using the set SA user

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.