application.properties 798 B

123456789101112131415161718192021222324252627
  1. server.port= 8888
  2. #���ݿ�Դ��Ϣ����
  3. spring.datasource.url = jdbc:mysql://localhost:3306/demo?characterEncoding=utf8&useSSL=false
  4. spring.datasource.username = root
  5. spring.datasource.password = 123456
  6. spring.datasource.driverClassName = com.mysql.jdbc.Driver
  7. spring.datasource.max-active = 20
  8. spring.datasource.max-idle = 8
  9. spring.datasource.min-idle = 8
  10. spring.datasource.initial-size = 10
  11. #jpa�־û�����
  12. spring.jpa.database = MYSQL
  13. spring.jpa.show-sql = true
  14. spring.jpa.hibernate.ddl-auto = update
  15. spring.thymeleaf.prefix = classpath:/templates/
  16. spring.thymeleaf.suffix = .html
  17. spring.thymeleaf.mode = HTML5
  18. spring.thymeleaf.encoding = UTF-8
  19. spring.thymeleaf.cache = false
  20. spring.http.multipart.max-file-size= 50MB
  21. spring.http.multipart.max-request-size= 50MB