- Connect to your SQL server instance using management studio
- Goto Security -> Logins -> (RIGHT CLICK) New Login
- fill in user details
- Under User Mapping, select the databases you want the user to be able to access and configure
UPDATE:
You'll also want to goto Security -> Server Roles
, and for public
check the permissions for TSQL Default TCP/TSQL Default VIA/TSQL Local Machine/TSQL Named Pipes
and remove the connect
permission
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…