Skip to content

Use valid MySQL DB server names#

Operational Excellence · Azure Database for MySQL · Rule · 2020_12 · Awareness

Azure MySQL DB server names should meet naming requirements.

Description#

When naming Azure resources, resource names must meet service requirements. The requirements for MySQL DB server names are:

  • Between 3 and 63 characters long.
  • Lowercase letters, numbers, and hyphens.
  • Can't start or end with a hyphen.
  • MySQL DB server names must be globally unique.

Recommendation#

Consider using names that meet Azure MySQL DB server naming requirements. Additionally consider naming resources with a standard naming convention.

Notes#

This rule does not check if Azure MySQL DB server names are unique.

Comments