accountName

val accountName: Output<String>

The name of the database account.

  • The name must be unique.

  • The name can contain lowercase letters, digits, and underscores (_). For MySQL databases, the name can contain uppercase letters.

  • The name must start with a letter and end with a letter or digit.

  • For MySQL databases, the name of the privileged account cannot be the same as that of the standard account. For example, if the name of the privileged account is Test1, the name of the standard account cannot be test1.

  • The length of the value must meet the following requirements:

  • If the instance runs MySQL 5.7 or MySQL 8.0, the value must be 2 to 32 characters in length.

  • If the instance runs MySQL 5.6, the value must be 2 to 16 characters in length.

  • If the instance runs SQL Server, the value must be 2 to 64 characters in length.

  • If the instance runs PostgreSQL with cloud disks, the value must be 2 to 63 characters in length.

  • If the instance runs PostgreSQL with local disks, the value must be 2 to 16 characters in length.

  • If the instance runs MariaDB, the value must be 2 to 16 characters in length.

  • For more information about invalid characters, See Forbidden keywords.