图形化建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/
,如需转载,请注明出处,否则将追究法律责任。