December 2013
Intermediate to advanced
1872 pages
153h 31m
English
It is possible to have an AUTHORIZATION [login] statement in the CREATE ENDPOINT command that establishes the permissions for a login account to the endpoint being defined. However, separating this out into a GRANT greatly stresses the point of allowing this connection permission. From each SQL query connection, you run a GRANT to allow a specific login account to connect on the ENDPOINT for database mirroring. If you don’t have a specific login account to use, default it to [NT AUTHORITY\SYSTEM].
First, from the principal server instance (SQL2012DXD01), you run the following GRANT (substituting [NT AUTHORITY\SYSTEM] with your specific login account to be used by database mirroring):
GRANT CONNECT ...