How to get approved server name for azure database postgresql single server

cabrel tchoffo 0 Reputation points
2023-02-16T14:46:24.9+00:00

Hello... Am trying to create a single server from the azure database for postgresql in portal but can't enter any valid server name all the names i try inputing are rejected don't understand no matter what i type it's not valid any hint please??

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. RahulRandive 10,306 Reputation points
    2023-02-17T20:57:52.4833333+00:00

    Thanks for your question

    As per Microsoft document, https://learn.microsoft.com/en-us/azure/postgresql/single-server/quickstart-create-server-database-portal#create-an-azure-database-for-postgresql-server

    |Server name||A unique name that identifies
    your Azure Database for PostgreSQL server. The domain name postgres.database.azure.com is
    appended to the server name that you provide. The server can contain only
    lowercase letters, numbers, and the hyphen (-) character. It must contain 3
    to 63 characters.| | -------- | -------- | -------- | ||

     

    Or you can try creating server using  az postgres server create command.

    https://learn.microsoft.com/en-us/azure/postgresql/single-server/quickstart-create-server-database-azure-cli#create-a-server

    Let us know if this works!

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.