Home > Database > Mysql Tutorial > body text

sql2008 附加数据库时出现5123 错误解决办法

WBOY
Release: 2016-06-07 17:48:27
Original
1448 people have browsed it

今天我在重新安装了系统了,再想把以前的数据库给附加过来,但是操作时发现提示了5123错误提示,下面是我的解决办法笔记,有需要的朋友参考一下。



解决方法:

 

1.直接把己有复制到sql安装目录下

 代码如下 复制代码
C:/Program Files/Microsoft SQL Server/MSSQL10.MSSQLSERVER/MSSQL/DATA

  这样就可以附加,不知道是不是在装数据库时漏选了什么操作,以前没遇到过。

 

2.在己有数据库mdf和ldf文件上,

  

 代码如下 复制代码

右键---->属性---->添加---->高级---->立即查找---->Authenticated Users---->确定

   ------>完全控制勾上---->确定

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!