From 8da312e3424eb9ceccd550ccb5cceae2d944b0cc Mon Sep 17 00:00:00 2001 From: Brad House Date: Wed, 10 Sep 2025 13:01:47 -0400 Subject: [PATCH] Regression 4.21.0: cloud-setup-databases errors out on --schema-only --- setup/bindir/cloud-setup-databases.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/bindir/cloud-setup-databases.in b/setup/bindir/cloud-setup-databases.in index 8c453edda447..d5bba488fe62 100755 --- a/setup/bindir/cloud-setup-databases.in +++ b/setup/bindir/cloud-setup-databases.in @@ -239,7 +239,7 @@ for full help ("DROP USER 'cloud'@'%' ;", "DO NULL;") ) - if self.areCloudDatabasesCreated() and not self.options.forcerecreate: + if self.areCloudDatabasesCreated() and not self.options.forcerecreate and not self.options.schemaonly: self.errorAndExit("Aborting script as the databases (cloud, cloud_usage) already exist.\n" \ "Please use the --force-recreate parameter if you want to recreate the schemas.")