> MS SQL Recovery > How to Repair Corrupted MDF/NDF SQL Database File with EaseUS MS SQL Recovery

How to Repair Corrupted MDF/NDF SQL Database File with EaseUS MS SQL Recovery

This is a dedicated article which presents you a guide of an entire SQL database recovery & repair process of EaseUS MS SQL Recovery.

Updated on 2019-03-14

This article applies to:
EaseUS MS SQL Recovery

How to Repair a Corrupted SQL Database


The steps below will show you how to recover & repair courrpted MS SQL database file.

1. After running the software, you will get this prompt if your computer has MS SQL Server installed.

EaseUS MS SQL Recovery prompt detecting an installed Microsoft SQL Server

2. Click "Start" -> "Microsoft SQL Server" -> "SQL Server Configuration Manager", choose SQL Server Services and right click on SQL Server to stop it.

SQL Server Configuration Manager with SQL Server Services to stop the server

Or input command line in CMD to stop the service:
net stop MSSQLSERVER

Command Prompt window running net stop MSSQLSERVER to stop the SQL Server service

3. Click ".." button and Browse the .mdf file, or click Search to find it on your computer.

EaseUS MS SQL Recovery browse dialog for selecting the corrupted .mdf database file

4. Select the right database and click Analyze to start the recovery.

EaseUS MS SQL Recovery with the database selected and the Analyze button

5. You are able to view the content of the database after recovery.

EaseUS MS SQL Recovery showing the recovered database tables and contents

6. Click "Export" and save it as a new database or export to the existing database. You can also export it to SQL script file.
 

EaseUS MS SQL Recovery Export dialog for saving the recovered database

7. Restart SQL Server service and verify the recovered database.