简体   繁体   English

Azure 无服务器 SQL 无服务器数据库

[英]Azure Serverless SQL Serverless Database

I Created SQL Server Database in Azure which is serverless and tried to access it using my SQL Server Management Studio in my local but I couldn't get it work.我在 Azure 中创建了无服务器的 SQL Server 数据库,并尝试使用我本地的 SQL Server Management Studio 访问它,但我无法让它工作。

It always gives me this message:它总是给我这样的信息:

在此处输入图片说明

I tried to whitelist also my IP in Azure but still I get the same result.我也尝试将我在 Azure 中的 IP 列入白名单,但仍然得到相同的结果。

在此处输入图片说明

Is there a possible way to make it connect?有没有办法让它连接?

Is the database currently online or paused?数据库当前是否在线或已暂停?

I'll repeat the text from @David Browne's link:我将重复@David Browne 链接中的文字:

If a serverless database is paused, then the first login will resume the database and return an error stating that the database is unavailable with error code 40613. Once the database is resumed, the login must be retried to establish connectivity.如果无服务器数据库暂停,则第一次登录将恢复数据库并返回一个错误,指出数据库不可用,错误代码为 40613。恢复数据库后,必须重试登录以建立连接。 Database clients with connection retry logic should not need to be modified.不需要修改具有连接重试逻辑的数据库客户端。

So;所以;

  • Assuming the database is paused, this is normal operation假设数据库暂停,这是正常操作
  • Please read docs请阅读文档
  • You need to retry after the database starts OR manually pre-start it using the Powershell provided in the link below您需要在数据库启动后重试或使用以下链接中提供的 Powershell 手动预启动它

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-serverless#connectivity https://docs.microsoft.com/en-us/azure/sql-database/sql-database-serverless#connectivity

And yes, you also need to whitelist your IP address as you have already done.是的,您还需要像之前一样将您的 IP 地址列入白名单。

Obviously this flavour of SQL is unsuitable for some types of applications - there is more information in the link - I suggest you read the whole thing.显然,这种 SQL 风格不适合某些类型的应用程序——链接中有更多信息——我建议你阅读整篇文章。

暂无
暂无

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

相关问题 如何删除 azure sql server 并只保留无服务器数据库副本 - how to delete azure sql server and leave only serverless database copy Sql 无服务器数据库(Azure Synapse Analytics):您无权使用批量加载语句 - Sql Serverless database (Azure Synapse Analytics): You do not have permission to use the bulk load statement 是否可以使用 Azure Synapse Serverless SQL 池过滤动态日期范围? - Is it possible to filter on a dynamic date range with an Azure Synapse Serverless SQL Pool? Azure Synapse Serverless SQL 池无法连接但可以连接到专用 SQL 池? - Azure Synapse Serverless SQL Pool Unable to Connect BUT Can connect to Dedicated SQL Pool? 应如何配置 Azure Synapse Analytics Serverless SQL 池以支持端到端 AD 身份验证和授权? - How should Azure Synapse Analytics Serverless SQL pool be configured to support end-to-end AD authentication and authorization? 来自C#的SQL无服务器命令 - SQL serverless command from C# SQL Server 2019 Express:读取/写入 SQL Server 数据库(无服务器) - 在 SSMS 中工作,但在 INSERT 触发器中失败 - SQL Server 2019 Express : reading from / writing to SQL Server database (serverless) - working in SSMS but failing when in an INSERT trigger PowerBI 用户无法访问 Azure Synapse 上的内置无服务器数据库 - PowerBI user cannot access Built In Serverless DB on Azure Synapse 如何捕获无服务器的异常 SQL 服务器冷启动 - How to catch exception for a serverless SQL Server cold boot 读取存储在 ADLS 中的 CSV 时 Synapse 无服务器 SQL 池中的性能问题 - Performance issue in Synapse serverless SQL pool while reading CSV stored in ADLS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM