如何使用SQL Server配置管理器-程序员宅基地

技术标签: python  java  网络  zookeeper  linux  

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/

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/culuo4781/article/details/107622665

智能推荐

class和struct的区别-程序员宅基地

文章浏览阅读101次。4.class可以有⽆参的构造函数,struct不可以,必须是有参的构造函数,⽽且在有参的构造函数必须初始。2.Struct适⽤于作为经常使⽤的⼀些数据组合成的新类型,表示诸如点、矩形等主要⽤来存储数据的轻量。1.Class⽐较适合⼤的和复杂的数据,表现抽象和多级别的对象层次时。2.class允许继承、被继承,struct不允许,只能继承接⼝。3.Struct有性能优势,Class有⾯向对象的扩展优势。3.class可以初始化变量,struct不可以。1.class是引⽤类型,struct是值类型。

android使用json后闪退,应用闪退问题:从json信息的解析开始就会闪退-程序员宅基地

文章浏览阅读586次。想实现的功能是点击顶部按钮之后按关键字进行搜索,已经可以从服务器收到反馈的json信息,但从json信息的解析开始就会闪退,加载listview也不知道行不行public abstract class loadlistview{public ListView plv;public String js;public int listlength;public int listvisit;public..._rton转json为什么会闪退

如何使用wordnet词典,得到英文句子的同义句_get_synonyms wordnet-程序员宅基地

文章浏览阅读219次。如何使用wordnet词典,得到英文句子的同义句_get_synonyms wordnet

系统项目报表导出功能开发_积木报表 多线程-程序员宅基地

文章浏览阅读521次。系统项目报表导出 导出任务队列表 + 定时扫描 + 多线程_积木报表 多线程

ajax 如何从服务器上获取数据?_ajax 获取http数据-程序员宅基地

文章浏览阅读1.1k次,点赞9次,收藏9次。使用AJAX技术的好处之一是它能够提供更好的用户体验,因为它允许在不重新加载整个页面的情况下更新网页的某一部分。另外,AJAX还使得开发人员能够创建更复杂、更动态的Web应用程序,因为它们可以在后台与服务器进行通信,而不需要打断用户的浏览体验。在Web开发中,AJAX(Asynchronous JavaScript and XML)是一种常用的技术,用于在不重新加载整个页面的情况下,从服务器获取数据并更新网页的某一部分。使用AJAX,你可以创建异步请求,从而提供更快的响应和更好的用户体验。_ajax 获取http数据

Linux图形终端与字符终端-程序员宅基地

文章浏览阅读2.8k次。登录退出、修改密码、关机重启_字符终端

随便推点

Python与Arduino绘制超声波雷达扫描_超声波扫描建模 python库-程序员宅基地

文章浏览阅读3.8k次,点赞3次,收藏51次。前段时间看到一位发烧友制作的超声波雷达扫描神器,用到了Arduino和Processing,可惜啊,我不会Processing更看不懂人家的程序,咋办呢?嘿嘿,所以我就换了个思路解决,因为我会一点Python啊,那就动手吧!在做这个案例之前先要搞明白一个问题:怎么将Arduino通过超声波检测到的距离反馈到Python端?这个嘛,我首先想到了串行通信接口。没错!就是串口。只要Arduino将数据发送给COM口,然后Python能从COM口读取到这个数据就可以啦!我先写了一个测试程序试了一下,OK!搞定_超声波扫描建模 python库

凯撒加密方法介绍及实例说明-程序员宅基地

文章浏览阅读4.2k次。端—端加密指信息由发送端自动加密,并且由TCP/IP进行数据包封装,然后作为不可阅读和不可识别的数据穿过互联网,当这些信息到达目的地,将被自动重组、解密,而成为可读的数据。不可逆加密算法的特征是加密过程中不需要使用密钥,输入明文后由系统直接经过加密算法处理成密文,这种加密后的数据是无法被解密的,只有重新输入明文,并再次经过同样不可逆的加密算法处理,得到相同的加密密文并被系统重新识别后,才能真正解密。2.使用时,加密者查找明文字母表中需要加密的消息中的每一个字母所在位置,并且写下密文字母表中对应的字母。_凯撒加密

工控协议--cip--协议解析基本记录_cip协议embedded_service_error-程序员宅基地

文章浏览阅读5.7k次。CIP报文解析常用到的几个字段:普通类型服务类型:[0x00], CIP对象:[0x02 Message Router], ioi segments:[XX]PCCC(带cmd和func)服务类型:[0x00], CIP对象:[0x02 Message Router], cmd:[0x101], fnc:[0x101]..._cip协议embedded_service_error

如何在vs2019及以后版本(如vs2022)上添加 添加ActiveX控件中的MFC类_vs添加mfc库-程序员宅基地

文章浏览阅读2.4k次,点赞9次,收藏13次。有时候我们在MFC项目开发过程中,需要用到一些微软已经提供的功能,如VC++使用EXCEL功能,这时候我们就能直接通过VS2019到如EXCEL.EXE方式,生成对应的OLE头文件,然后直接使用功能,那么,我们上篇文章中介绍了vs2017及以前的版本如何来添加。但由于微软某些方面考虑,这种方式已被放弃。从上图中可以看出,这一功能,在从vs2017版本15.9开始,后续版本已经删除了此功能。那么我们如果仍需要此功能,我们如何在新版本中添加呢。_vs添加mfc库

frame_size (1536) was not respected for a non-last frame_frame_size (1024) was not respected for a non-last-程序员宅基地

文章浏览阅读785次。用ac3编码,执行编码函数时报错入如下:[ac3 @ 0x7fed7800f200] frame_size (1536) was not respected for anon-last frame (avcodec_encode_audio2)用ac3编码时每次送入编码器的音频采样数应该是1536个采样,不然就会报上述错误。这个数字并非刻意固定,而是跟ac3内部的编码算法原理相关。全网找不到,国内音视频之路还有很长的路,音视频人一起加油吧~......_frame_size (1024) was not respected for a non-last frame

Android移动应用开发入门_在安卓移动应用开发中要在活动类文件中声迷你一个复选框变量-程序员宅基地

文章浏览阅读230次,点赞2次,收藏2次。创建Android应用程序一个项目里面可以有很多模块,而每一个模块就对应了一个应用程序。项目结构介绍_在安卓移动应用开发中要在活动类文件中声迷你一个复选框变量

推荐文章

热门文章

相关标签