更新时间:2023-02-03 10:08:54
你需要添加一个服务器登录:
You need to add a server login:
sa
连接到您的 SQL Server.sa
.您可能需要根据需要添加数据库用户,但需要服务器登录(如您的 sa
登录)才能使用 Windows 或 SQL Server 身份验证连接到 SQL Server 实例.将新登录名映射到 数据库用户(在 Login - New 对话框的 User Mappings 页面中)将在映射数据库中创建新用户尚不存在;或者,您可以将新登录名映射到现有数据库用户.
You may need to add a database user depending on your needs, but a server login (like your sa
login) is necessary to connect to the SQL Server instance using Windows or SQL Server authentication. Mapping the new login to a database user (in the Login - New dialog's User Mappings page) will create a new user in the mapped database if you specify a username that does not already exist; alternatively you can map the new login to an existing database user.
另一个 SO 问题谈到了服务器登录和数据库用户之间的区别.
Another SO question speaks to the differences between server logins and database users.
或
或