diff --git a/renren-admin/src/main/resources/application-my.yml b/renren-admin/src/main/resources/application-my.yml index 7e8a3ed3..30b08690 100644 --- a/renren-admin/src/main/resources/application-my.yml +++ b/renren-admin/src/main/resources/application-my.yml @@ -7,45 +7,50 @@ spring: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/share_platform?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&useSSL=false username: root - password: 123456 + password: root # driver-class-name: com.mysql.cj.jdbc.Driver # url: jdbc:mysql://15.2.21.238:3310/share_platform?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&useSSL=false # username: root # password: Hisense2019 #Hisense2019 #上传的静态资源配置 - initial-size: 10 - max-active: 100 - min-idle: 10 - max-wait: 10 - pool-prepared-statements: true - max-pool-prepared-statement-per-connection-size: 20 - time-between-eviction-runs-millis: 60000 - min-evictable-idle-time-millis: 300000 - #Oracle需要打开注释 - validation-query: SELECT 1 - test-while-idle: true - test-on-borrow: false - test-on-return: false - stat-view-servlet: + initial-size: 10 + max-active: 100 + min-idle: 10 + max-wait: 10 + pool-prepared-statements: true + max-pool-prepared-statement-per-connection-size: 20 + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 300000 + #Oracle需要打开注释 + validation-query: SELECT 1 + test-while-idle: true + test-on-borrow: false + test-on-return: false + stat-view-servlet: + enabled: true + url-pattern: /druid/* + #login-username: admin + #login-password: admin + filter: + stat: + log-slow-sql: true + slow-sql-millis: 1000 + merge-sql: false + wall: + config: + multi-statement-allow: true + flyway: enabled: true - url-pattern: /druid/* - #login-username: admin - #login-password: admin - filter: - stat: - log-slow-sql: true - slow-sql-millis: 1000 - merge-sql: false - wall: - config: - multi-statement-allow: true - + validate-on-migrate: false + # 允许乱序执行 + out-of-order: true #上传的静态资源配置 resource: root_url: 15.2.21.238 path: /home/yth/files/ devModelFilePath: /home/yth/files/devModelFile + pic-host: 127.0.0.1 # 大数据部门相关配置 big_date: name: 青岛市大数据发展管理局