프로그래밍 프레임워크
[스프링] Application.properties
skokieh
2020. 7. 13. 20:08
728x90
#log level
logging.level.com.example.basic=trace
spring.datasource.url=jdbc:mysql://127.0.0.1/toy?serverTimezone=UTC&characterEncoding=UTF-8
(toy는 데이터베이스명, 아래에는 테이블명을 toyproject로)
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=1234
#jpa
spring.jpa.hibernate.ddl-auto=update(평소에는 배포시 none으로, Data Definition Language)
spring.jpa.database-platform=org.hibernate.dialect.MariaDBDialect
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
youtube.apikey=블라블라
#file
spring.servlet.multipart.max-file-size=2097152
spring.servlet.multipart.max-request.size=2097152