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

Source: Internet
Author: User

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.

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.