【发布时间】:2016-08-17 11:28:23
【问题描述】:
数据库服务器崩溃。我能够获取 mdf 和日志文件,并且正在尝试将其安装在另一台服务器上。我没有备份,因为它是一个开发数据库。
当我尝试附加 mdf 和 ldf 文件时,Sql Server Management Studio 给我这个错误:
TITLE: Microsoft SQL Server Management Studio
------------------------------
Attach database failed for Server
------------------------------
Could not redo log record (457:14202:19), for transaction ID (0:478674), on page (1:519205), database 'WSS_Content_5555' (database ID 15). Page: LSN = (370:463:113), type = 1. Log: OpCode = 2, context 2, PrevPageLSN: (298:40524:64).
Restore from a backup of the database, or repair the database.
During redoing of a logged operation in database 'WSS_Content_5555', an error occurred at log record ID (457:14202:19).
Typically, the specific failure is previously logged as an error in the Windows Event Log service.
Restore the database from a full backup, or repair the database.
Could not open new database 'WSS_Content_5555'.
CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 3456)
我不知道如何修复数据库。维修前需要安装吗?那样的话,怎么附上呢?
【问题讨论】:
标签: sql-server ssms