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