Skip to content

Instantly share code, notes, and snippets.

@altitdb
Last active September 19, 2018 20:36
Show Gist options
  • Save altitdb/15ca02f60851ea989e736b0d7966a6b5 to your computer and use it in GitHub Desktop.
Save altitdb/15ca02f60851ea989e736b0d7966a6b5 to your computer and use it in GitHub Desktop.
SELECT *
FROM pg_stat_activity
where datname = 'sonarqube';
SELECT pg_terminate_backend(pid)
FROM pg_stat_activity
WHERE datname = 'sonarqube';
ALTER USER sonarqube WITH PASSWORD '123123123';
drop database sonarqube;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment