如何使用SQL Server配置管理器

如何使用SQL Server配置管理器SQLServerconfigurationmanagerisatoolprovidedbyMicrosoftSQLServer.WhenweinstallSQLServer,itisinstalledautomatically.Itisusedforthefollowingpurposes.SQLServer配置管理器是Mic…

大家好,又见面了,我是你们的朋友全栈君。

SQL Server configuration manager is a tool provided by Microsoft SQL Server. When we install SQL Server, it is installed automatically. It is used for the following purposes.

SQL Server配置管理器是Microsoft SQL Server提供的工具。 当我们安装SQL Server时,它会自动安装。 它用于以下目的。

  1. Manage SQL Server services

    管理SQL Server服务

  2. To manage SQL Server network configuration (32 bit and 64 bit)

    管理SQL Server网络配置(32位和64位)

  3. To manage the SQL Server native client configuration

    管理SQL Server本机客户端配置

  4. Create alias and manage client protocols

    创建别名并管理客户端协议

The SQL Server configuration manager is a Microsoft console management snap-in and is in the start menu. You can find it once the installation of the SQL Server is completed. To open the configuration manager, Microsoft management console uses the “SQLServerManager<version>.msc” file. For example, if you have installed SQL Server 2019 on the server, then you can open it by running “SQLServerManager15.msc” command.

SQL Server配置管理器是Microsoft控制台管理管理单元,位于开始菜单中。 SQL Server安装完成后即可找到它。 要打开配置管理器,Microsoft管理控制台使用“ SQLServerManager <version> .msc ”文件。 例如,如果您已在服务器上安装了SQL Server 2019,则可以通过运行“ SQLServerManager15.msc ”命令将其打开。

如何在SQL Server 2017中打开SQL Server配置管理器 (How to open the SQL Server Configuration Manager in SQL Server 2017)

To open configuration manager in SQL Server 2017, press the Windows and R key together. In Run, type “SQLServerManager14.msc” command. The SQL Server configuration manager will open. Following is the list of commands that can be used to open the SQL Server configuration manager using “Run” or command prompt for different versions of SQL Server.

要在SQL Server 2017中打开配置管理器,请同时按Windows和R键 。 在“运行”中,键入“ SQLServerManager14.msc ”命令。 SQL Server配置管理器将打开。 以下是可用于使用不同版本SQL Server的“ 运行 ”或命令提示符打开SQL Server配置管理器的命令列表。

SQL Server version Command
SQL Server 2019 SQLServerManager15.msc
SQL Server 2017 SQLServerManager14.msc
SQL Server 2016 SQLServerManager13.msc
SQL Server 2014 SQLServerManager12.msc
SQL Server 2012 SQLServerManager11.msc
SQL Server版本 命令
SQL Server 2019 SQLServerManager15.msc
SQL Server 2017 SQLServerManager14.msc
SQL Server 2016 SQLServerManager13.msc
SQL Server 2014 SQLServerManager12.msc
SQL Server 2012 SQLServerManager11.msc

管理SQL Server服务 (Manage SQL Server services)

We can start, stop, and restart the SQL Server services using the configuration manager. In the Left pan, select the “SQL Server services.” You can view the list of SQL Server services. In my workstation, I have installed multiple instances of SQL Server. Hence, I can manage them from one place. See the following image:

我们可以使用配置管理器启动,停止和重新启动SQL Server服务。 在左侧窗格中,选择“ SQL Server服务”。 您可以查看SQL Server服务的列表。 在我的工作站中,我已经安装了多个SQL Server实例。 因此,我可以从一个地方进行管理。 见下图:

List if SQL Server services in SQL Server configuration manager

Now, we can start, stop, and restart the SQL Server services. To do that, right-click on any SQL Server service and in the context menu, you can see the options to start, stop, and restart the services. See the following image:

现在,我们可以启动,停止和重新启动SQL Server服务。 为此,右键单击任何SQL Server服务,然后在上下文菜单中,您可以看到启动,停止和重新启动服务的选项。 见下图:

Start / Stop / Restart the services

You can also change the startup parameters, enable AlwaysOn availability features, and other advanced options from the properties. To open it, right-click on SQL Server service and click on “Properties.” See the following image:

您也可以从属性中更改启动参数,启用AlwaysOn可用性功能以及其他高级选项。 要打开它,请右键单击SQL Server服务,然后单击“ 属性” 。 见下图:

SQL Server service properties

To change SQL Server startup parameters, click on the “Startup Parameter” tab. See the following image:

要更改SQL Server启动参数,请单击“启动参数”选项卡。 见下图:

Define Startup parameters

To change the SQL Server service account, click on the “Log On” tab. Moreover, you can also start/stop/restart the SQL Server service and view the status of the service. See the following image:

要更改SQL Server服务帐户,请单击“ 登录 ”选项卡。 此外,您还可以启动 / 停止 / 重新启动 SQL Server服务并查看该服务的状态。 见下图:

Define SQL Server service account

To enable the AlwaysOn availability group, click on the “AlwaysOn High Availability” tab. See the following image:

要启用AlwaysOn可用性组,请单击“ AlwaysOn高可用性”选项卡。 见下图:

Enable Always On Availability groups

管理SQL Server本机客户端配置 (Manage SQL Server native client configuration)

SQL Server native client is a network library that the client uses to connect to the SQL Server. Using the SQL Server configuration manager, we can perform the following tasks:

SQL Server本机客户端是客户端用来连接到SQL Server的网络库。 使用SQL Server配置管理器,我们可以执行以下任务:

  1. Change Client protocols

    更改客户端协议

  2. Create and configure an alias

    创建和配置别名

To change the client protocols, click on “Client Protocols” under the “SQL Native client 11.0 configuration.” See the following image:

要更改客户端协议,请单击“ SQL Native Client 11.0配置”下的“客户端协议”。 见下图:

SQL native client configuration

Clients can connect to the SQL Server using any of the following protocols.

客户端可以使用以下任何协议连接到SQL Server。

  1. Shared Memory

    共享内存

  2. TCP/IP

    TCP / IP

  3. Named Pipes

    命名管道

In the right pane, you can see the list of all the above client protocols. You can enable/disable any of the protocols. To do that, right-click on any of the protocols and select Enable/Disable. See the following image:

在右窗格中,您可以看到上述所有客户端协议的列表。 您可以启用/禁用任何协议。 为此,右键单击任何协议,然后选择“启用/禁用”。 见下图:

Enable / Disable client protocols

We can also define an alias. Alias is an alternate name that can be used to connect to SQL Server. To create a new alias, right-click on Aliases and select “New Alias.” See the following image:

我们还可以定义一个别名。 别名是备用名称,可用于连接到SQL Server。 要创建新别名,请右键单击“别名”,然后选择“新别名”。 见下图:

Configure Aliases

In Alias – New dialog box, provide Alias Name, Port number, a protocol used to connect SQL Server and hostname of the SQL Server. See the following image:

在“ 别名-新建”对话框中,提供“别名”,“端口号”,用于连接SQL Server的协议和SQL Server的主机名。 见下图:

New Alias

You can read Overview of SQL Server Aliases article to learn more about SQL Server aliases.

您可以阅读“ SQL Server别名概述”文章,以了解有关SQL Server别名的更多信息。

管理SQL Server网络配置 (Manage SQL Server network configuration)

From manage SQL Server network configuration node, you can enable or disable the network protocols supported by SQL Server.

从管理SQL Server网络配置节点,可以启用或禁用SQL Server支持的网络协议。

  1. Shared Memory

    共享内存

  2. TCP/IP

    TCP / IP

  3. Named Pipe

    命名管道

共享内存协议 (The Shared Memory Protocol)

The Shared memory protocol is used by the clients to connect the SQL Server instance on the same server. It is the simplest protocol and does not have any configuration options. You can only disable or enable the protocols that can be done from the properties window. To do that, See the following image:

客户端使用共享内存协议来连接同一服务器上SQL Server实例。 这是最简单的协议,没有任何配置选项。 您只能禁用或启用可以在属性窗口中完成的协议。 为此,请参见下图:

Enable / Disable shared memory

TCP / IP协议 (The TCP/IP Protocol )

Using TCP/IP protocols, computers can connect to the SQL Server instance. To configure the TCP/IP settings, right-click on the TCP/IP protocol and choose properties. See the following image:

使用TCP / IP协议,计算机可以连接到SQL Server实例。 要配置TCP / IP设置,请右键单击TCP / IP协议,然后选择属性。 见下图:

Enable / Disable TCP/IP

From the “protocol” tab in the properties dialog box, you can disable or enable the protocol, define the time for how long the connection will remain active and define that whether it can listen to all IP Addresses. See the following image:

属性对话框的“ 协议 ”选项卡中,可以禁用启用协议,定义连接保持活动状态的时间,并定义是否可以监听所有IP地址 。 见下图:

Enable Protocol

In the IP Addresses tab, you can specify the IP Address and the port number on which the SQL Server service will accept the incoming connections. See the following image:

在“ IP地址”选项卡中,可以指定SQL Server服务将在其上接受传入连接的IP地址和端口号。 见下图:

TCP/IP properties

命名管道协议 (The Named Pipe Protocol )

The named pipe protocol is configured for local are network and it is used for inter-process communication. To configure a valid named pipe connection string, right-click on “Named Pipe” and choose properties. Under the protocol tab of the “Named Pipe properties” dialog box, you can specify the valid named pipe connection string in the Pipe Name text box. See the following image:

已为本地区域网络配置了命名管道协议,该协议用于进程间通信。 要配置有效的命名管道连接字符串,请右键单击“ 命名管道 ”,然后选择properties 。 在“ 命名管道属性 ”对话框的“ 协议”选项卡下,可以在“管道名称”文本框中指定有效的命名管道连接字符串。 见下图:

Named Pipes properties

摘要 (Summary)

In this article, I have explained the SQL Server Configuration Manager and how to use it to configure SQL Server services and its configuration parameters.

在本文中,我已经解释了SQL Server配置管理器以及如何使用它来配置SQL Server服务及其配置参数。

翻译自: https://www.sqlshack.com/how-to-use-sql-server-configuration-manager/

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/162443.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)
blank

相关推荐

  • pycharm怎么配置tensorflow环境_pycharm环境搭建

    pycharm怎么配置tensorflow环境_pycharm环境搭建Pycharm安装并搭建Tensorflow开发环境下载并安装pycharm1.下载2.pycharm配置python环境安装tensorflow1.输入清华仓库镜像2.创建tensorflow环境3.启动tensorflow环境4.安装cpu版本的TensorFlow5.测试TensorFlowPycharm中配置TensorFlow环境在操作之前先安装好python环境,我是安装的Anaconda,Anaconda下载安装教程可参考:https://blog.csdn.net/Chen_Meng_

  • C# 发送Http请求 – WebClient类

    WebClient位于System.Net命名空间下,通过这个类可以方便的创建Http请求并获取返回内容。一、用法1- DownloadData二、用法2- OpenRea

    2021年12月27日
  • 皮尔森相关系数(Pearson correlation coefficient)「建议收藏」

    皮尔森相关系数(Pearson correlation coefficient)「建议收藏」概述定义物理意义皮尔森距离机器学习中的应用代码实现概述皮尔森相关系数也称皮尔森积矩相关系数(Pearsonproduct-momentcorrelationcoefficient),是一种线性相关系数,是最常用的一种相关系数。记为r,用来反映两个变量X和Y的线性相关程度,r值介于-1到1之间,绝对值越大表明相关性越强。定义总体相关系数ρ定义为两…

  • 基于pytorch卷积人脸表情识别–毕业设计「建议收藏」

    基于卷积神经网络的人脸表情识别前言毕业设计内容介绍卷积神经网络的设计卷积网络的模型卷积池化过程详细说明第一层卷积池化过程第二层卷积池化过程第三层卷积池化过程全连接层过程模型的训练过程卷积与池化原理模型如何训练模型的评估指标训练结果分析通过训练曲线分析通过混淆矩阵分析效果通过摄像头识别表情设计流程效果演示部分代码展示总结前言这篇文章记录一下我本科毕业设计的内容。我的课题是人脸表情识别,本来最开始按照历届学长的传统是采用MATLAB用传统的机器学习方法来实现分类的。但是鉴于我以前接触过一点点深度学习的内容,

  • python+pytorch_pytorch linear函数

    python+pytorch_pytorch linear函数损失函数之MSELoss

  • Java cloneable_java浅克隆和深克隆

    Java cloneable_java浅克隆和深克隆先来看看JDK的解释:java.lang.CloneableAclassimplementstheCloneableinterfacetoindicatetothejava.lang.Object.clone()methodthatitislegalforthatmethodtomakeafield-for-fieldcopyofinstances…

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号