简体   繁体   中英

Unable to connect to SQL Server azure through ssms

I am new babie to Azure, recently I have created an Azure account and I am looking to create data schema for my project. I have created a SQL database and SQL Server. I am trying to connect through SSMS. Unfortunately I am stuck with "Cannot connect to the server" and "login failed for User".

Probably my password might be wrong or the server is not up. How can check my password (SQL Server authenciation) of SQL Server and how to check if my server is running?

PS : I didn't create any VM

Azure所有资源页面

Also make sure your IP is in the list of IPs allowed to access the DB. Setup firewall rules using instructions here

How can I check if my SQL server in Azure is running?

Open command prompt, run ping <your server name here> .
If this resolves to an IP address your server is online and running.

How can I check password for my SQL Server?

When you navigate to the server in the Azure portal, there should be a property under the Essentials tab called 'server admin'. Make sure this is the same login you use in SSMS.

If you can't remember your password, you can always reset it in the Azure portal: 门户网站重置密码屏幕截图

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM