Last active
August 29, 2015 14:27
-
-
Save ffbit/55d4d402dac6e54d70ac to your computer and use it in GitHub Desktop.
MySQL create user SQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create database sonarqube character set 'utf8'; | |
create user 'sonarqube'@'localhost' identified by 'password'; | |
grant all privileges on sonarqube.* TO 'sonarqube'@'%'; | |
flush privileges; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<properties> | |
... | |
<sonar.jdbc.url>jdbc:mysql://localhost:3306/sonarqube</sonar.jdbc.url> | |
<sonar.jdbc.username>sonarqube</sonar.jdbc.username> | |
<sonar.jdbc.password>password</sonar.jdbc.password> | |
<sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver> | |
</properties> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>sonar-maven-plugin</artifactId> | |
<version>2.6</version> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment