Additional sql database --5120 error

In the engine room of the installation configuration, the first step requires additional database, 5120 may appear in the additional database, operating system error denied access.
1. error:
Here Insert Picture Description

Solution one: modify permissions mdf and ldf files

Find the mdf and ldf file is located right → Properties → Security
Here Insert Picture Description
Do not forget to have permission to modify ldf file, or otherwise it will error

Solution two: Switch authentication methods, the use of windows Log

Solution three: Change Service

First, open the "SQL Server Configuration Server → select" sql server service "→ Right-click the" SQL Server (MSSQLSERVER) "→ Properties
Here Insert Picture Description

→ Select an account → local system built-in login
Here Insert Picture Description

Most of the issues should be a method can be solved, but it does not hurt to know more about.

Published 21 original articles · won praise 1 · views 1316

Guess you like

Origin blog.csdn.net/weixin_44682554/article/details/103435665