Home > php教程 > PHP开发 > body text

Microsoft Sql Server Error 5123 Attached Database Error

高洛峰
Release: 2016-12-16 11:05:54
Original
1753 people have browsed it

When Microsoft Sql Server attaches a database, reinstalling the system and renaming the host name or logging in with a Windows identity may cause this result. This error may be reported under Vista or Windows 7

The reason is that the database file you want to attach is (.mdf) and log files (.ldf) do not have operation permissions

Solution: Very simple first step: find the database file (.mdf) log file (.ldf) second step: right-click and select "Properties", then select "Security" tab, then select "Edit" Step 3: Select "Add" Step 4: Select "Advanced" Step 5: Select "Find Now" and find "Everyone" in the search results below , select, confirm

Step 6: Set the permissions of "Everyone" to "Full Control", apply

Step 7: Confirm


For more Microsoft Sql Server Error 5123 Attached Database Error related articles please Follow PHP Chinese website!

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template