简体   繁体   English

无法通过SSMS连接到SQL Server Azure

[英]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. 我是Azure的新手,最近我创建了一个Azure帐户,并且希望为我的项目创建数据架构。 I have created a SQL database and SQL Server. 我已经创建了一个SQL数据库和SQL Server。 I am trying to connect through SSMS. 我正在尝试通过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? 如何检查我的SQL Server密码(SQL Server身份验证)以及如何检查我的服务器是否正在运行?

PS : I didn't create any VM PS:我没有创建任何虚拟机

Azure所有资源页面

Also make sure your IP is in the list of IPs allowed to access the DB. 还要确保您的IP在允许访问数据库的IP列表中。 Setup firewall rules using instructions here 使用此处的说明设置防火墙规则

How can I check if my SQL server in Azure is running? 如何检查Azure中的SQL服务器是否正在运行?

Open command prompt, run ping <your server name here> . 打开命令提示符,运行ping <your server name here>
If this resolves to an IP address your server is online and running. 如果此地址解析为IP地址,则您的服务器已联机并且正在运行。

How can I check password for my SQL Server? 如何检查SQL Server的密码?

When you navigate to the server in the Azure portal, there should be a property under the Essentials tab called 'server admin'. 当您导航到Azure门户中的服务器时,“基本”选项卡下应有一个名为“服务器管理员”的属性。 Make sure this is the same login you use in SSMS. 确保这与您在SSMS中使用的登录名相同。

If you can't remember your password, you can always reset it in the Azure portal: 如果您忘记了密码,可以随时在Azure门户中重置密码: 门户网站重置密码屏幕截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法使用SSMS和SQL Server身份验证连接到SQL Server Express - Cannot connect to SQL Server Express with SSMS and SQL Server Authentication SSIS无法使用SQL Server身份验证连接到SSMS - SSIS cannot connect to SSMS using SQL Server Authentication 无法使用Windows身份验证连接Sql Server - Unable to Connect Sql server using Windows Authentication SQL Server身份验证-限制对数据库的访问以仅通过应用程序进行连接 - SQL Server authentication - limit access to database to only connect through application Azure AD user unable to connect to Azure SQL Error: 18456,State:1,Class:14 - Azure AD user unable to connect to Azure SQL Error: 18456,State:1,Class:14 无法连接JDK 8上的电子邮件服务器 - Unable to connect email Server on JDK 8 无法使用Windows身份验证连接SSMS,但可以使用SQL身份验证登录 - Couldn't connect SSMS using Windows authentication but can login using SQL Authentication 使用Windows身份验证从不受信任的域通过Java远程连接到SQL Server - Remotely connect to SQL Server through Java from an untrusted domain with Windows authentication 获取Azure SQL Server的Azure AD令牌 - Acquiring Azure AD Token for Azure SQL Server 无法通过 C# 连接到 AWS SDK AmazonEC2Client - Unable to connect to AWS SDK AmazonEC2Client through C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM