How to solve SQL Server 18452 errors

Source: Internet
Author: User
Tags sql server driver odbc sql server driver

SQL Server 18452 login error cannot connect to the server: Message 18452, level 16, status 1 [Microsoft] [odbc SQL Server Driver] [SQL Server] user 'sa 'Login Failed. Cause: the error is not associated with a trusted SQL server connection because SQL server uses the "Windows only" authentication method, therefore, you cannot use the Logon account of SQL Server (for example, SA) to connect,

The solution is as follows:

1. Set to allow SQL Server login (this is basically useful) operation steps: 1. In Enterprise Manager, expand SQL Server group and right-click SQL Server server name 2. Select "attribute" 3. Select Security tab 4. Under "authentication", select "SQL Server and Windows" 5. OK, and restart the SQL Server service.

2. If the problem persists, check whether the SA user is Enabled: 1. Right-click the SA user to open the attributes. 2. Select the "status" tab and select enable in login.

Sa is not enabled. It is easy to appear when the database is used at the beginning and is often unknown.

Because XP is installed on a personal PC, the SA account is usually not started during database installation. It is useful.

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.