From 0a9b5e0febe39989e83830295119e2f2b20d2e63 Mon Sep 17 00:00:00 2001 From: Jack Waudby Date: Thu, 12 Dec 2024 19:08:56 +0000 Subject: [PATCH 1/3] Remove restriction --- .../standard-databases/create-databases.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc b/modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc index 90fdfbc99..15d7e010f 100644 --- a/modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc +++ b/modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc @@ -124,7 +124,7 @@ If the store is seeded with `seedURI`, `existingDataSeedInstance` or `existingDa [NOTE] ==== -The `existingData`, `existingDataSeedInstance`, `existingDataSeedServer`, `seedURI`, `seedConfig`, and `seedCredentials` options cannot be combined with the `OR REPLACE` part of this command. +The `existingDataSeedInstance` and `existingDataSeedServer` options cannot be combined with the `OR REPLACE` part of this command. More details about seeding options can be found in xref::clustering/databases.adoc#cluster-seed[Seed a cluster]. ==== From 7e7d467223b66cf21ea69d51b64edd57df3fa61d Mon Sep 17 00:00:00 2001 From: Jack Waudby Date: Thu, 12 Dec 2024 19:14:30 +0000 Subject: [PATCH 2/3] Add note and link --- modules/ROOT/pages/clustering/databases.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ROOT/pages/clustering/databases.adoc b/modules/ROOT/pages/clustering/databases.adoc index 649f6b7c6..df51f4e69 100644 --- a/modules/ROOT/pages/clustering/databases.adoc +++ b/modules/ROOT/pages/clustering/databases.adoc @@ -501,6 +501,12 @@ neo4j@neo4j> SHOW DATABASES; To determine the cause of the problem, it is recommended to look at the `debug.log`. +[NOTE] +==== +Seed from URI can also be used in combination with xref:database-administration/standard-databases/create-databases.adoc[`CREATE DATABASE OR REPLACE`]. +==== + + [[file-seed-provider]] ==== FileSeedProvider From 016ac140939697a3cf7c2b233890d2a6661f463e Mon Sep 17 00:00:00 2001 From: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com> Date: Wed, 8 Jan 2025 16:32:35 +0100 Subject: [PATCH 3/3] Apply suggestions from code review --- modules/ROOT/pages/clustering/databases.adoc | 2 +- .../standard-databases/create-databases.adoc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/clustering/databases.adoc b/modules/ROOT/pages/clustering/databases.adoc index df51f4e69..d74616aca 100644 --- a/modules/ROOT/pages/clustering/databases.adoc +++ b/modules/ROOT/pages/clustering/databases.adoc @@ -503,7 +503,7 @@ To determine the cause of the problem, it is recommended to look at the `debug.l [NOTE] ==== -Seed from URI can also be used in combination with xref:database-administration/standard-databases/create-databases.adoc[`CREATE DATABASE OR REPLACE`]. +Starting from Neo4j 2025.01, seed from URI can also be used in combination with xref:database-administration/standard-databases/create-databases.adoc[`CREATE OR REPLACE DATABASE`]. ==== diff --git a/modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc b/modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc index 15d7e010f..cef7d448d 100644 --- a/modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc +++ b/modules/ROOT/pages/database-administration/standard-databases/create-databases.adoc @@ -124,7 +124,9 @@ If the store is seeded with `seedURI`, `existingDataSeedInstance` or `existingDa [NOTE] ==== -The `existingDataSeedInstance` and `existingDataSeedServer` options cannot be combined with the `OR REPLACE` part of this command. +Starting from Neo4j 2025.01, you can use `existingData`, `seedURI`, `seedConfig`, and `seedCredentials` options together with the `CREATE OR REPLACE DATABASE` command. + +The `existingDataSeedInstance` and `existingDataSeedServer` are still not supported with the `CREATE OR REPLACE DATABASE` command. More details about seeding options can be found in xref::clustering/databases.adoc#cluster-seed[Seed a cluster]. ====