spring DB연결하기

    [spring] application.properties 의 datasource 설정하기(port, db) - DB연결하기

    포트번호 변경 server.port=8082 데이터베이스 연결 # Database #driver-class-name 은 사용하고자 하는 데이터베이스로 #spring.datasource.driver-class-name=org.mariadb.jdbc.Driver spring.datasource.driverClassName=org.mariadb.jdbc.Driver #spring.datasource.url=데이터베이스 주소 spring.datasource.url=jdbc:mariadb://localhost:3306/gtck?characterEncoding=UTF-8&serverTimezone=UTC spring.datasource.username=아이디 spring.datasource.password=비밀번호..