SQL server cannot be started. MSSQL 18052 error: 9003, severity: 20, status: 1., 180529003
Symptom:
System log files (Control Panel-management tools-system logs)
You can find the following two errors:
17052:
The master database cannot be recovered. Exiting.
18052:
Error: 9003, severity: 20, status: 1.
Solution 1:
Rename the Microsoft SQL Server/MSSQL/Data directory to the data_bak directory, and then set the master from other machines. mdf, master. ldf, model. mdf, modellog. ldf cannot be copied to the Microsoft SQL Server/MSSQL/data directory.
Then open the C:/Program Files/Microsoft SQL Server/80/Tools/binnfolder on the Server, find the rebuildm.exe file and run it, reinitialize the master table, select the file, and Click Browse next to it, point to the folder copied from the computer next to it, click "OK" to start reinitialization. The prompt is "successful" (sometimes the prompt may fail, but it doesn't matter because it was copied from another computer, the database file links are different). Click OK to start the SQL service. If the database cannot be started, restart the machine. In this case, attach the previous database, delete all questions displayed.
Solution 2:
To reinstall sqlserver, delete it from the Control Panel first, and then delete the installation directory of C: \ Program Files \ SQL server. If you install it on another disk, x of another disk: the \ Program Files \ SQL server folder must also be deleted, and then you can reinstall it.