在配置镜像最后一步报错:Database ‘XXX’ cannot be opened. It is in the middle of a restore. (Microsoft SQL Server, Error: 927)
解决办法:
执行命令
镜像库Mirror Server:
USE MASTER; GO ALTER DATABASE SET PARTNER = ‘TCP://PrincipalServer:5022’ GO
主库Principal server:文章来源:https://www.toymoban.com/news/detail-744349.html
USE MASTER; GO ALTER DATABASE SET PARTNER = ‘TCP://MirrorServer:5022’ GO文章来源地址https://www.toymoban.com/news/detail-744349.html
到了这里,关于sql2016创建镜像数据库时报错(Microsoft SQL Server, Error: 927)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!