Created
October 9, 2014 11:12
-
-
Save cyupa/a71f3c4ca9c4115119a9 to your computer and use it in GitHub Desktop.
Creates a Sonar database
This file contains 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 Sonar database and user. | |
# | |
# Command: mysql -u root -p < create_sonar_database.sql | |
# | |
CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci; | |
CREATE USER 'sonar' IDENTIFIED BY 'sonar'; | |
GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar'; | |
GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment