且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用户“sa"登录失败.用户未与受信任的 SQL Server 连接相关联.(Microsoft SQL Server,错误:18452)在 sql 2008 中

更新时间:2022-03-17 08:55:53

转到 Start > Programs > Microsoft SQL Server > 企业经理

Go to Start > Programs > Microsoft SQL Server > Enterprise Manager

右键单击 SQL Server 实例名称 > 从上下文菜单中选择 Properties > 在左侧导航栏中选择 Security 节点

Right-click the SQL Server instance name > Select Properties from the context menu > Select Security node in left navigation bar

在身份验证部分下,选择SQL Server 和 Windows 身份验证

Under Authentication section, select SQL Server and Windows Authentication

注意:服务器必须停止并重新启动才能生效

Note: The server must be stopped and re-started before this will take effect

错误 18452(不是与受信任的 sql server 连接相关联)