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 6317560e94..f57ba3bbbc 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`;