MSSQL-Create a new user

Source: Internet
Author: User
Tags mssql management studio sql management studio

1. Login using Windows authentication first.

2. Then open it once: security---> Logins, right-click Logins, tap New login.

3. Under the General tab: Fill in the Login name, select SQL Server Authentication, fill in the login password, cancel the Enforce password policy, select the default database.

4. Server role tab: Select Server role.

5. User Mapping Tab: Select the database membership to which this created user is mapped.

6. Status tab:

7. After that, click OK, then right click on the server name and select Properties. :

8. Under Security tab, SQL Server and Windows Authentication mode.

9, click OK, use "Win key +r", open the running window, and enter cmd, then click OK.

10, enter services.msc in the command window, then return.

11. After carriage return, open the service window. After you select the SQL Server (SQLEXPRESS) service, shut down, and then restart.

At this point, restart SQL Management Studio and you can then log in with the newly created user.

MSSQL-Create a new user

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.