0

有没有人知道或知道在哪里可以找到修复/重建 Microsoft SQL Server 2000 主数据库的工具或信息?我假设这是基于以下错误我需要做的,并且该服务将无法启动。

谢谢

2012-08-08 13:59:55.10 server    Microsoft SQL Server  2000 - 8.00.760 (Intel X86) 
    Dec 17 2002 14:22:05 
    Copyright (c) 1988-2003 Microsoft Corporation
    Desktop Engine on Windows NT 5.1 (Build 2600: Service Pack 3)

2012-08-08 13:59:55.10 server    Copyright (C) 1988-2002 Microsoft Corporation.
2012-08-08 13:59:55.12 server    All rights reserved.
2012-08-08 13:59:55.12 server    Server Process ID is 640.
2012-08-08 13:59:55.12 server    Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL\LOG\ERRORLOG'.
2012-08-08 13:59:55.12 server    SQL Server is starting at priority class 'normal'(2 CPUs detected).
2012-08-08 13:59:55.59 server    SQL Server configured for thread mode processing.
2012-08-08 13:59:55.59 server    Using dynamic lock allocation. [500] Lock Blocks, [1000] Lock Owner Blocks.
2012-08-08 13:59:55.64 spid4     Starting up database 'master'.
2012-08-08 13:59:55.64 spid4     Error: 9003, Severity: 20, State: 1.
2012-08-08 13:59:55.64 spid4     Cannot recover the master database. Exiting.
4

1 回答 1

1

如果您有 master 数据库的备份,请重建 master 数据库,以便您可以启动 sql server。在单用户模式下执行此操作 (sqlserver.exe -c -m),然后还原备份。

如果您没有备份,则必须重建 master 数据库,然后手动(或通过脚本,如果您碰巧将数据库和登录名脚本化)重新添加数据库和登录名。

重建你的主数据库:

http://www.techrepublic.com/article/recover-the-master-database-in-sql-server/5025441

于 2012-08-09T07:35:44.410 回答