[英]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;所以;
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.