From deab612ed2576eb84cb5e82080b6a3dc498441f9 Mon Sep 17 00:00:00 2001 From: Dean DiRoma Date: Thu, 31 Oct 2024 09:13:19 -0400 Subject: [PATCH] [PPP-4776] update to mysql create quartz script to handle if user already exists --- .../src/main/resources/data/mysql/create_quartz_mysql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assemblies/pentaho-data/src/main/resources/data/mysql/create_quartz_mysql.sql b/assemblies/pentaho-data/src/main/resources/data/mysql/create_quartz_mysql.sql index 6317560e946..f57ba3bbbce 100644 --- a/assemblies/pentaho-data/src/main/resources/data/mysql/create_quartz_mysql.sql +++ b/assemblies/pentaho-data/src/main/resources/data/mysql/create_quartz_mysql.sql @@ -7,7 +7,7 @@ CREATE DATABASE IF NOT EXISTS `quartz` DEFAULT CHARACTER SET latin1; -CREATE USER 'pentaho_user'@'localhost' identified by 'password'; +CREATE USER IF NOT EXISTS 'pentaho_user'@'localhost' identified by 'password'; GRANT ALL PRIVILEGES ON quartz.* to 'pentaho_user'@'localhost' WITH GRANT OPTION; USE `quartz`;