Spring-boot25 Spring-boot 셋팅 spring initializr를 사용해서 다음과 같이 초기 셋팅을 진행해준다 나는 mariaDB를 사용 ! 인텔리J 실행 후 src > main > resources > application.properties 파일의 확장자를 yml로 변경해주고 다음과 같이 입력 spring: datasource: driver-class-name: org.mariadb.jdbc.Driver url: jdbc:mariadb://localhost:3306/DB명?characterEncoding=UTF-8&serverTimezone=UTC username: id password: pwd jpa: hibernate: ddl-auto: update properties: hibernate: format_sql: true #To .. 2024. 2. 23. 이전 1 ··· 4 5 6 7 다음