SQL server2012 additional database problem solving method

Time:2021-12-5

SQL server2012 additional database problem solving method 

SQL Server Error 5120: log in to attach with the windows user first, then detach and re attach with SA

If not, unique skill:

You first create a new database with SQL server, and then overwrite the created file with the file you want to attach! Before overwriting, remember to turn off the sql service from computer – Management – services