40, Microsoft SQL Server how to create a new user

1, open SQL Server2014 error 17051 when he directly collapsed; re-installation of a
Here Insert Picture Description
first verify identity with windows to enter. In the interface into the upper left corner, opening the security - Login:
Here Insert Picture Description
Select login name, right - New Login
Here Insert Picture Description
General settings, enter the login name, uncheck Enforce password policy
Here Insert Picture Description
server roles, for users to set their roles, the default is public; if you need an administrator role you will need to check the sysadmin, need to create a class of data is checked dbcreator role;
Here Insert Picture Description
user mapping, the user can check the database associated with, and the role of identity in the database;
Here Insert Picture Description
state provided grant connect to the database engine and enable login, or when the log will complain;

Here Insert Picture Description

Published 38 original articles · won praise 5 · Views 6009

Guess you like

Origin blog.csdn.net/luluisntlulu/article/details/105027352