Fix for "Cannot Connect to Database Master at SQL Server at Server Name. The Database might not exist, or the current user does not have permission to connect to it" SharePoint Error -
Grant, With Grant, Revoke and Deny statements in SQL Server and Azure SQL Database
Permission denied in database 'master'. Error.
How to fix Microsoft SQL Server, Error: 262? - Stack Overflow