Skip to content

Instantly share code, notes, and snippets.

@RawToast
Created November 5, 2015 11:43
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save RawToast/feab6b36d2592554d071 to your computer and use it in GitHub Desktop.
Save RawToast/feab6b36d2592554d071 to your computer and use it in GitHub Desktop.
SonarQube Postgres
# Simple SonarQube database and user creation for Postgresql
#
sudo -u postgres psql postgres
CREATE DATABASE sonar;
CREATE USER sonar WITH PASSWORD 'verysecret';
GRANT ALL PRIVILEGES ON DATABASE sonar TO sonar;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment