SQL Server 18456 sa user logon Error

Source: Internet
Author: User

Recently want to study the SQL SERVER2012 Enterprise version of the database, heard that the function is very powerful. I installed on the Win7, the installation process is very smooth, I am using "Windows Authentication", everything OK, but when the SA user logged into the database, the following error occurs:

Before loaded SQL7.0, SQL2000, SQL2005 version of, 2008 version of the, as if there is no such a complex Ah, Baidu has found a solution, summed up: This error is generally caused by three reasons, login method set error, SA set error and IP mode is open, The following three questions are resolved in turn.

Solution:

First, login mode settings
1. Log in as "Windows Authentication", go to the server, right-click, select Properties:

2. In the dialog box that appears, set the server authentication method in security to SQL Server and Windows authentication mode:

Second, SA settings
1. Go to "security", "Login name", "sa", and right-click on "sa" to select Properties.

2. In the popup dialog box, enable "sign in"

Third, turn on IP
1. Open SQL Server Configuration Manager, expand SQL Server Network configuration, and turn on TCP/IP in the MSSQLSERVER protocol:

2. Configure IP properties, enter the TCP/IP properties, enable the required address

3. Restart the SQL Server service:


You can log in to the database with SA below

SQL Server 18456 sa user logon Error

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.