有没有人知道在哪里可以找到修复/重建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.
答案 0 :(得分:1)
如果您有master数据库的备份,请重建master数据库,以便启动sql server。在单用户模式(sqlserver.exe -c -m)中执行此操作,然后还原备份。
如果您没有备份,则必须重建master数据库,然后手动(或通过脚本,如果您碰巧将数据库和登录脚本化)重新添加数据库和登录。
重建主数据库:
http://www.techrepublic.com/article/recover-the-master-database-in-sql-server/5025441