Changing Azure MySQL Port

Oscar 1 Reputation point
2022-03-31T20:23:12.2+00:00

Hi all,

Is it possible to change a MySQL Port to something other than the default? We have a business request to change the default port for a new Azure MySQL DB, but I do not see anywhere within the parameters section that give me that ability. Is it just not possible to do that?

Azure Database for MySQL
Azure Database for MySQL
An Azure managed MySQL database service for app development and deployment.
827 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Takahito Iwasa 4,851 Reputation points MVP
    2022-03-31T20:43:54.593+00:00

    Hi. @Oscar

    With the latest documentation, I don't think I can change it yet.

    https://learn.microsoft.com/en-us/azure/mysql/concepts-supported-versions#connect-to-a-gateway-node-that-is-running-a-specific-mysql-version

    I don't think you can use anything other than the default 3306 and the versioned 3308, 3309.

    0 comments No comments

  2. Oury Ba-MSFT 19,101 Reputation points Microsoft Employee
    2022-04-05T18:26:05.977+00:00

    Hi @Oscar Thank you for posting your question on Microsoft Q&A forums.

    My understanding is that you are asking if it is possible to change MySQL port to something other than the default.
    The answer is no. You cannot change the default port of Azure MySQL as @Takahito Iwasa mentioned above.

    Thank you @Takahito Iwasa for your contribution.

    Regards,
    Oury

    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.