Error 18456 occurs when SQL Server adds a user

Source: Internet
Author: User

1. Login with native default window authentication

2, after the successful login, in the database-"security-" login-"right-click Properties-" select "New login name"

3. In the login name, enter the user who will create the new login, and enter the corresponding password

4. Change the status to set to grant, enabled

5. Then click OK to see the following user creation success

7. In the database that you are currently affiliated with, right-click

8. Then change the server authentication mode on the security on the SQL Servers and Windows authentication modes

9, need to shut down or restart the SQL Server service, the convenience of direct restart

10. Login

11, login success, as shown, user hello

Error 18456 occurs when SQL Server adds a 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.