Wishlist 0 ¥0.00

将 SQL Server 设置为使用混合模式/SQL 身份验证

描述

如果在 SQL Server 安装期间选择仅使用 Windows 身份验证而不是混合模式身份验证,则许多产品将无法连接到 SQL Server。

作者

狄龙·佩雷拉

发布日期 6/12/2014

适用于: 软件

SQL 服务器

适用于版本

2005 及更高版本

适用于: 系统/模块

 

文章版本

 

************************************************************************************************************************************************************

 

开始之前

 

本文档假设已安装 SQL Server。如果没有,请查找我们关于安装 SQL Server 的技术说明,该文档中包含的步骤将确保您拥有正确的设置。

先决条件

 

在 SQL Server 安装过程中,您必须允许至少一个 Windows 用户访问 SQL Server,并能够使用此帐户登录 SQL Server。如果尚未执行此操作,则需要重新安装 SQL。

详细步骤

 
  1. 转到 SQL Server Management Studio > Microsoft SQL Server YEAR > SQL Server Management Studio 开始>程序,打开 SQL Server Management Studio。
  2. 使用管理帐户登录 Windows 身份验证。
  3. 更改身份验证
    1. 在 Object Explorer 窗口中,右键单击服务器名称并转到 Properties。
      1. 选择 Security (安全) 部分。
        1. 在 Server Authentication (服务器身份验证) 下,将选择从 Windows Authentication mode (Windows 身份验证模式) 更改为 SQL Server 和 Windows Authentication mode (SQL Server 和 Windows 身份验证模式)。
        2. 单击 Ok (确定)
      2. 单击 Ok (确定)
  4. 启用 sa 登录:
    1. 在对象资源管理器中,展开 Security 文件夹和 Logins.
    2. 右键单击 sa 并转到 Properties (属性)。
      1. 在 General 选项卡上,设置要使用的密码。
      2. 在 Status (状态) 选项卡上的 Login (登录) 中,将其设置为 Enabled (已启用)。
      3. 单击 OK
  5. 重新启动 SQL Server:
    1. 右键单击 Object Explorer 中的 Server 名称
    2. 选择 Restart (重新启动)

No comments

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.