Steps to resolve “Can not connect to the configuration database Error in SharePointWhen we try to browse a SharePoint site, if it shows the following Error “Cannot connect to the configuration database”.
The reason you get the above message is that the SharePoint cannot connect to the SQL database. You need to check whether SQL Server Service is started or not. To check:-
Go to Start -- > Administrative Tools à Services
The following screen will be displayed showing all services. Now check “SQL Server (MSSQLSERVER) service”.
Need to start this Service as it is not started. Right Click on service and click on “Start”.
After starting the service you can see the status of the service is “Started” as shown in below screenshot.
Now, SharePoint site is opened Successfully.