From 91f126fef04b8495c2ba7393feb28a61c1d8ce74 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 25 Oct 2023 10:38:40 -0600 Subject: [PATCH] Update database naming restrictions for Dedicated and Clustered (#5193) * update database naming restrictions for dedicated and clustered, closes #5167 * Apply suggestions from code review Co-authored-by: Jason Stirnaman --------- Co-authored-by: Jason Stirnaman --- .../influxdb/cloud-dedicated/admin/databases/create.md | 8 +++++--- .../influxdb/cloud-dedicated/admin/databases/update.md | 8 +++++--- content/influxdb/clustered/admin/databases/create.md | 8 +++++--- content/influxdb/clustered/admin/databases/update.md | 8 +++++--- 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/content/influxdb/cloud-dedicated/admin/databases/create.md b/content/influxdb/cloud-dedicated/admin/databases/create.md index 0c1bb7ec4..5307d2c21 100644 --- a/content/influxdb/cloud-dedicated/admin/databases/create.md +++ b/content/influxdb/cloud-dedicated/admin/databases/create.md @@ -89,9 +89,11 @@ The retention period value cannot be negative or contain whitespace. Database names must adhere to the following naming restrictions: -- Must contain two or more characters -- Cannot start with an underscore (`_`) -- Cannot contain whitespace characters, double quotes (`"`), or percent signs (`%`) +- Cannot contain whitespace, punctuation, or special characters. + Only alphanumeric, underscore (`_`), dash (`-`), and forward-slash + (`/`) characters are permitted. +- Should not start with an underscore (`_`). +- Maximum length of 64 characters. ## InfluxQL DBRP naming convention diff --git a/content/influxdb/cloud-dedicated/admin/databases/update.md b/content/influxdb/cloud-dedicated/admin/databases/update.md index edd00b320..91a038e90 100644 --- a/content/influxdb/cloud-dedicated/admin/databases/update.md +++ b/content/influxdb/cloud-dedicated/admin/databases/update.md @@ -93,9 +93,11 @@ The retention period value cannot be negative or contain whitespace. Database names must adhere to the following naming restrictions: -- Must contain two or more characters -- Cannot start with an underscore (`_`) -- Cannot contain whitespace characters, double quotes (`"`), or percent signs (`%`) +- Cannot contain whitespace, punctuation, or special characters. + Only alphanumeric, underscore (`_`), dash (`-`), and forward-slash + (`/`) characters are permitted. +- Should not start with an underscore (`_`). +- Maximum length of 64 characters. ## InfluxQL DBRP naming convention diff --git a/content/influxdb/clustered/admin/databases/create.md b/content/influxdb/clustered/admin/databases/create.md index 6c1882d01..846bbc663 100644 --- a/content/influxdb/clustered/admin/databases/create.md +++ b/content/influxdb/clustered/admin/databases/create.md @@ -89,9 +89,11 @@ The retention period value cannot be negative or contain whitespace. Database names must adhere to the following naming restrictions: -- Must contain two or more characters -- Cannot start with an underscore (`_`) -- Cannot contain whitespace characters, double quotes (`"`), or percent signs (`%`) +- Cannot contain whitespace, punctuation, or special characters. + Only alphanumeric, underscore (`_`), dash (`-`), and forward-slash + (`/`) characters are permitted. +- Should not start with an underscore (`_`). +- Maximum length of 64 characters. ## InfluxQL DBRP naming convention diff --git a/content/influxdb/clustered/admin/databases/update.md b/content/influxdb/clustered/admin/databases/update.md index 6659843a1..d478738c5 100644 --- a/content/influxdb/clustered/admin/databases/update.md +++ b/content/influxdb/clustered/admin/databases/update.md @@ -93,9 +93,11 @@ The retention period value cannot be negative or contain whitespace. Database names must adhere to the following naming restrictions: -- Must contain two or more characters -- Cannot start with an underscore (`_`) -- Cannot contain whitespace characters, double quotes (`"`), or percent signs (`%`) +- Cannot contain whitespace, punctuation, or special characters. + Only alphanumeric, underscore (`_`), dash (`-`), and forward-slash + (`/`) characters are permitted. +- Should not start with an underscore (`_`). +- Maximum length of 64 characters. ## InfluxQL DBRP naming convention