In this post we will discuss about an error which usually comes while opening a SharePoint site or SharePoint central administration.
Also you can check out:
Full error message:
This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from the configuration database. To connect this server to the server farm, use the SharePoint Products Configuration Wizard, located on the Start menu in Microsoft SharePoint 2010 Products.
There might be the reason that the MSSQLSERVER service may be stopped.
So you can check like below:
Go to Start -> run -> services.msc -> then check SQL Server (MSSQLSERVER) service.
If it is already stopped then Right click on it and Click on Start.
Now the error should not come.