Cannot connect to database master at SQL server at SERVERNAME. The database might not exist, or the current user does not have permission to connect During Installing and Configuring SharePoint

After I have been installed SharePoint,I checked Run SharePoint Product Configuration Wizard and during configuring the database server name setting with a correct domain farm account credentials, I got the following error :

“Cannot connect to database master at SQL server at SERVERNAME. The database might not exist, or the current user does not have permission to connect”

Cause :

This problem might occur because of

The domain user credentials might not be provided correctly.

SQL Server Service / SQL Agent / SQL Server Browser was stopped.

The provided domain user didn’t have a sufficient permission to access DB Server.

SQL Server Network Configuration TCP/IP disabled.

SQL Server server was blocked by Firewall.

Solution:

The domain user credentials might not be provided correctly.

Retype the provided domain user and its password again, make sure it correct.

SQL Server Service was stopped.

Open SQL Server Configuration Wizard.

Check the SQL Server Service and SQL Agent and make sure it was started.

If it was stopped try to start it by following the mentioned steps in this article.

Login to SQL server as windows authentication to make sure that the provided domain user enables to connect to SQL Server via “SQL server management studio”

The provided domain user didn’t have a sufficient permission to access DB Server.

If you couldn’t connect to DB Server using the provided domain user.thence, it does not have a permission access and you need to permit access.

3 thoughts on “Cannot connect to database master at SQL server at SERVERNAME. The database might not exist, or the current user does not have permission to connect During Installing and Configuring SharePoint”