버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

코드 블럭
CREATE SCHEMA sonarschema; // 스키마 생성
ALTER USER sonaruser SET search_path to sonarschema;

PostgreSQL 서비스 재시작

코드 블럭
systemctl restart sonarqube


connection method 변경

코드 블럭
[root@playground data]# vi /var/lib/pgsql/9.3/data/pg_hba.conf


// METHOD를 md5로 변경


# "local" is for Unix domain socket connections only
local   all             all                                     md5
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 ident

...

코드 블럭
[root@playground opt]# psql -U sonaruser -d sonar
Password for user sonaruser:

sonar=>


PostgreSQL 서비스 재시작

코드 블럭
systemctl restart sonarqube


sonar.properties 복사 및 변경

현재 사용중인 properties 이름 변경 및 복사 

...