I had two Virtual machines in Azure. One Having SharePoint and the other is for SQLServer Database. I got credentials for Remote Desktop Connection for both machines.
It's giving you an error regarding the database itself, not the credentials, make sure that the name of the database server is correct, if you have an instance, you need to provide the instance name. Make sure that the SharePoint server (the server you're working on right now) can ping and connect to SQL server.
You need to check couple of things.
- Account you mentioned in that screen, Should have DB creator and Secuirty Admin rights.
- If you login with different account then the one you mentioned, Make sure that account should have same permission.
- Make sure You can access the SQL server from this server. may be use FQDN server url
are you using SQL account or Domain account?
Make sure that port 1433 (or whatever port you are using for SQL) is open on the SQL server and if not create a new rule:
From the SQL server:
Launch "Windows Firewall with Advanced Security"
Click "Inbound Rules" then "New Rule..." Click Port, then Next
Type your port number in "Specified Local Ports" then Next.
Click Next 3 times, then give the rule a name and an optional description.