Home > Database > Mysql Tutorial > body text

MSSQL 18052错误: 9003,严重度: 20,状态: 1

WBOY
Release: 2016-06-07 16:23:17
Original
1740 people have browsed it

问题现象: 系统日志文件(控制面板管理工具系统日志) 能找到以下两条错误: 17052: 无法恢复 master 数据库。正在退出。 18052: 错误: 9003,严重度: 20,状态: 1。 解决方法一: 将Microsoft SQL Server/MSSQL/Data 目录改名为data_bak目录,然后从其他机器

   问题现象:

  系统日志文件(控制面板–管理工具–系统日志)

  能找到以下两条错误:

  17052:

  无法恢复 master 数据库。正在退出。

  18052:

  错误: 9003,严重度: 20,状态: 1。

  解决方法一:

  将Microsoft SQL Server/MSSQL/Data 目录改名为data_bak目录,然后从其他机器上把master.mdf,master.ldf,model.mdf,modellog.ldf拷过来随便放到哪(或者直接把data目录拷过来也行),不能放到Microsoft SQL Server/MSSQL/Data这个目录。

  接着在服务器上打开C:/Program Files/Microsoft SQL Server/80/Tools/Binn文件夹,找到rebuildm.exe文件并运行,重新初始化master表,选择文件,按旁边的浏览,指向刚刚从旁边电脑上拷过来的那个文件夹,点确定开始重新初始化,提示成功(有时可能也提示失败,但不要紧,因为是从另外的电脑拷过来的,数据库文件链接不一样),点确定后就可以启动SQL服务了,有时启动不了的话要机器重启一下就可以了,这时把之前的数据库再附加上去就行了,把显示质疑的都删掉。

  解决方法二:

  重新安装sqlserver,一般先到控制面板里面删除,然后将C:Program Filessql server的安装目录删除,,如果你是安装到别的盘的,别的盘的x:Program Filessql server的文件夹也要删除,然后重新安装即可。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!