|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
mysqld进程在一个写入当中被杀死;计算机的意外关闭(例如,如果计算机掉电);一个硬件错误。1.
InSQLEnterpriseManager,clicktheReplicationMonitorNodetoopentheReplicationMonitorontheserverconfiguredastheDistributor.2.ClickOpenonthePublishersnode.3.Clickthepublisherthathasthepublicationthathastheproblem.4.ClickPublication.5.
Intheright-handpaneofSQLEnterpriseManagerisalistoftheagentsrelatedtothepublication.YouseetheSnapshotAgent,LogReaderAgentandthePush/PullSubscriptionAgent.6.Identifytheagentforwhichyouneedtosetupoutputlogging.7.Right-clicktheReplicationAgentyouidentifiedinstep6,andthenclickAgentProperties.8.ClicktheStepstab,andthenedittheRunAgentstep.9.Attheendofthestringundercommand,add:
-OutputC:TempOUTPUTFILE.txt-Outputverboselevel[0|1|2]
Specifyeither0,1,or2afterthe-Outputverboselevelparameter.10.ClickOKtosavethechanges,andthenclosetheEditJobStepdialogbox.11.ClickOKtosavethechanges,andthenclosetheReplicationAgentPropertiesdialogbox.Iftheagentissettoruncontinuously,stopandrestarttheReplicationAgentsothatSQLServerlogsthemessagestothelogfilespecifiedinstep9.Ifthefilealreadyexists,theagentappendstheoutputtothefile.
参考:http://support.microsoft.com/?id=312292既能够作为一个单独的应用程序应用在客户端服务器网络环境中,也能够作为一个库而嵌入到其他的软件中。 |
|