SQLServer镜像报错Connection handshake failed

来源:这里教程网 时间:2026-03-02 11:50:08 作者:

图形化建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

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

相关推荐

热文推荐