123456789101112131415161718192021222324252627 |
- server.port= 8888
- #���ݿ�Դ��Ϣ����
- spring.datasource.url = jdbc:mysql://localhost:3306/demo?characterEncoding=utf8&useSSL=false
- spring.datasource.username = root
- spring.datasource.password = 123456
- spring.datasource.driverClassName = com.mysql.jdbc.Driver
- spring.datasource.max-active = 20
- spring.datasource.max-idle = 8
- spring.datasource.min-idle = 8
- spring.datasource.initial-size = 10
- #jpa�־û�����
- spring.jpa.database = MYSQL
- spring.jpa.show-sql = true
- spring.jpa.hibernate.ddl-auto = update
- spring.thymeleaf.prefix = classpath:/templates/
- spring.thymeleaf.suffix = .html
- spring.thymeleaf.mode = HTML5
- spring.thymeleaf.encoding = UTF-8
- spring.thymeleaf.cache = false
- spring.http.multipart.max-file-size= 50MB
- spring.http.multipart.max-request-size= 50MB
|