Sqlserver publishes and subscribes, prompting the solution to the problem of "login failure for user 'sa'"

When I was configuring Sqlserver 2019 to publish and subscribe, I encountered a problem, prompting:

Login failed for user 'sa'. (Source: MSSQL_REPL, Error Number: MSSQL_REPL20015)
Get help: http://help/MSSQL_REPL20015

insert image description here

Later, the proxy security was set up to solve the problem. The process is as follows:

Select Publish Properties - Proxy Security - Security Settings:
insert image description here
Set both security settings to "by impersonating process account"

insert image description here

Then check the synchronization status, restart the release, and that's it.

insert image description here

Guess you like

Origin blog.csdn.net/zhanyd/article/details/127866794