sql-server - 无法从 Visual Studio 连接到 Azure SQL 数据库

标签 sql-server visual-studio azure

当我尝试在 Visual Studio 中打开 Azure SQL Server 数据库时 enter image description here

然后使用我的 Azure 用户帐户(我已将此用户添加到 SQL 所有者角色)[email protected]我收到以下错误

无法打开登录请求的服务器“DomainName.com”。登录失败。 (Microsoft SQL Server,错误:40532)

最佳答案

看来我需要使用 [email protected] @AzureSQLInstanceName 作为用户名,我的域密码作为密码。 我从 Azure 门户上的数据库连接字符串部分获得了该信息。

关于sql-server - 无法从 Visual Studio 连接到 Azure SQL 数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32162041/

相关文章:

c++ - Visual Studio 无故重新编译在两个解决方案之间共享的项目

c# - 如何在我的开发环境中从 Windows 7 x64 上的 C# 连接到 Oracle 数据库

Azure 存储文件 "Authentication scheme Bearer is not supported." "AuthenticationFailed"

azure - Azure 存储位置中的 OPA bundle

sql-server - 复制/粘贴、删除选项在 SQL Management Studio 中不起作用

c++ - 使用 C++ 时程序与数据库的连接

sql-server - 如何使用 invoke-sqlcmd 从 PowerShell 访问 SQL Server 序列?

sql-server - 为什么当SQL Server设置为强制加密时,SSMS允许登录,而SSMS登录选项中没有选择 'encrypt connection'选项

wpf - VB.net:如果文本框WPF中没有文本,则停止发送删除和退格键击

Azure 批处理服务在作业完成时添加 Webhook