diff options
Diffstat (limited to 'subprojects/sonar-dev-maven-plugin/src/main/resources/database/mysql/create-user.sql')
-rw-r--r-- | subprojects/sonar-dev-maven-plugin/src/main/resources/database/mysql/create-user.sql | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subprojects/sonar-dev-maven-plugin/src/main/resources/database/mysql/create-user.sql b/subprojects/sonar-dev-maven-plugin/src/main/resources/database/mysql/create-user.sql index de353c36070..b2bb96a7b8d 100644 --- a/subprojects/sonar-dev-maven-plugin/src/main/resources/database/mysql/create-user.sql +++ b/subprojects/sonar-dev-maven-plugin/src/main/resources/database/mysql/create-user.sql @@ -1,3 +1,3 @@ -create user '${sonar.jdbc.username}' IDENTIFIED BY '${sonar.jdbc.password}'; -GRANT ALL ON ${sonar.jdbc.username}.* TO '${sonar.jdbc.username}'@'%' IDENTIFIED BY '${sonar.jdbc.password}'; -GRANT ALL ON ${sonar.jdbc.username}.* TO '${sonar.jdbc.username}'@'localhost' IDENTIFIED BY '${sonar.jdbc.password}';
\ No newline at end of file +create user '${jdbcUsername}' IDENTIFIED BY '${jdbcPassword}'; +GRANT ALL ON ${jdbcUsername}.* TO '${jdbcUsername}'@'%' IDENTIFIED BY '${jdbcPassword}'; +GRANT ALL ON ${jdbcUsername}.* TO '${jdbcUsername}'@'localhost' IDENTIFIED BY '${jdbcPassword}';
\ No newline at end of file |