Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure SQL Server cannot create database

I am trying to create a database in Azure SQL Server. However, when I try to create it, it prompts "Gen4 family is not available in this region" and cannot create the database. What is the problem?

like image 848
want_to_be_calm Avatar asked Apr 26 '26 02:04

want_to_be_calm


2 Answers

I encountered this same error when trying to create the DB via the GUI menu. So I opened a query and entered CREATE DATABASE dbname and it worked without issue.

Strange since they both should have used the default options, there should really have been no difference.

like image 72
Jay Smith Avatar answered Apr 30 '26 01:04

Jay Smith


As Vijay Rajendiran said, if the region where your Azure SQL server in is not support Gen4 price tier, then you could not create the database.

To solve the problem, I have two suggestions:

  1. create the database with other price tier except Gen4 - General Purpose (GP_Gen4_1).

  2. create the database with new SQL server, when we configure the database price tier, portal will show us if the price tier is supported.

Hope this helps.

like image 40
Leon Yue Avatar answered Apr 30 '26 02:04

Leon Yue



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!