SQL Server cannot be started. MSSQL 18052 error: 9003, severity: 20, status: 1

Source: Internet
Author: User

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:

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.