SQL Server Error: 18456. User "sa" Login Failed

Source: Internet
Author: User

Today, after I installed the database, I encountered a Problem When configuring the obdc of the data source. As follows:

The reason is that the database is not connected successfully. When performing the following link,

 

Unexpected situation

 

 

 

 Solution:

 

 

1. Open the database-log on to the database as a Windows User

 

 

02. login name -- double-click SA (Open attributes)

 

 

03. General -- set the password -- OK

 

 

04. Status -- Logon: enabled -- OK

 

 

05. Right-click the server name -- Properties

 

 

06. Security-select SQL Server and Windows Authentication Mode-OK

 

07. Right-click the server name -- restart -- close the database connection and exit the program -- use SA to log on to the database -- Solution

Note:

 

If the preceding method is invalid, go to the Start menu -- Microsoft SQL Server 2008 -- Configuration tool -- Microsoft SQL Server 2008

 

 

 

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.