This error comes when you start configuration wizard after SharePoint installation. Majorly it comes when you give the database server name as local. The full error message was: "Cannot connect to database master at SQL Server at local. The database might not exist, or the current user does not have permission to connect to it." Also you can check out my previous posts on:
The error looks like below:
There are lot of reason behind the error. So you can try different solutions:
- One reason may be your Firewall settings may block incoming traffic on SQL Server on default Port 1433. You can create a different rule if the firewall was blocking.
- Check the credentials which you have giving in the wizard, wether that account has sufficient permission or not. This Farm account should be a memeber of SecurityAdmin and dbCreator role on sql server.
- Or you can check wether SQL Server Browser service is stopped or disabled.
- Also you can configure SQL Server Alias Name for both 32 and 64-bit (SQL Native Client 11.0 Configuration).