简体   繁体   中英

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.

It always gives me this message:

在此处输入图片说明

I tried to whitelist also my IP in Azure but still I get the same result.

在此处输入图片说明

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:

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. 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

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.

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.

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