Maven 프로젝트를 기준으로 작성 1. pom.xml 에 postgresql dependency 추가 org.postgresql postgresql runtime - intellij 의 경우, spring boot 프로젝트 생성 시 추가 가능 2. application.properties 설정 spring.datasource.hikari.maximum-pool-size=4 spring.datasource.url=jdbc:postgresql://db주소:포트번호/접속db이름 spring.datasource.username=db접속id spring.datasource.password=db접속password