1
0
mirror of https://github.com/alex-bochkov/ssms-addin.git synced 2025-11-23 22:04:53 +02:00

Update Database mirroring.sql

This commit is contained in:
Alex Bochkov
2025-04-23 11:54:24 -05:00
committed by GitHub
parent be4f2311ed
commit 726f5c2f63

View File

@@ -5,10 +5,13 @@ DROP ENDPOINT [Mirroring]
GO
CREATE ENDPOINT [Mirroring]
STATE=STARTED
STATE = STARTED
AS TCP (LISTENER_PORT = 5022, LISTENER_IP = ALL)
FOR DATA_MIRRORING (ROLE = PARTNER, AUTHENTICATION = CERTIFICATE DatabaseMirroring
, ENCRYPTION = DISABLED)
FOR DATA_MIRRORING (
ROLE = PARTNER,
AUTHENTICATION = CERTIFICATE DatabaseMirroring,
ENCRYPTION = REQUIRED ALGORITHM AES
)
GO
CREATE MASTER KEY ENCRYPTION BY PASSWORD = '<password>';