ITPub博客

首页 > 数据库 > SQL Server > SQLServer镜像报错Connection handshake failed

SQLServer镜像报错Connection handshake failed

原创 SQL Server 作者:ywxj_001 时间:2019-12-12 20:46:35 0 删除 编辑

图形化建SQLServer镜像报错:

数据库日志:

Database mirroring connection error 5 'Connection handshake failed. There is no compatible encryption algorithm. State 22.'


查看主从镜像内容:
select * from sys.database_mirroring_endpoints
只有两边的name不同。
打算重建镜像:
主从依次执行以下SQL:
删除语句:
DROP ENDPOINT [Endpoint_Mirroring]
重建语句:
CREATE ENDPOINT [Endpoint_Mirroring]
STATE = STARTED
AS TCP(LISTENER_PORT = 5022, LISTENER_IP = ALL)
FOR DATA_MIRRORING (ENCRYPTION = REQUIRED ALGORITHM RC4, ROLE = ALL)

GO


再用图像化重建镜像完成正常:


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22996654/viewspace-2668367/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
在零售、金融、互联网行业从事数据库相关工作10余年,有丰富的数据库管理和架构的相关经验。 涉及SQLServer、Oracle、MySQL、PostgreSQL等多种数据库。 目前在一家互联网公司担任DBA经理。 负责整个集团数据库的架构设计和管理工作。

注册时间:2010-01-19

  • 博文量
    247
  • 访问量
    436230