ruoyi-admin/src/main/resources/application-dev.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-admin/src/main/resources/application-prod.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-admin/src/main/resources/application.yml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-ui/src/views/monitor/druid/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ruoyi-admin/src/main/resources/application-dev.yml
@@ -45,56 +45,56 @@ datasource: # ä¸»åºæ°æ®æº master: type: ${spring.datasource.type} driverClassName: com.mysql.cj.jdbc.Driver # jdbc ææåæ°é ç½®åè https://lionli.blog.csdn.net/article/details/122018562 # rewriteBatchedStatements=true æ¹å¤çä¼å å¤§å¹ æåæ¹éæå ¥æ´æ°å 餿§è½(å¯¹æ°æ®åºææ§è½æè ä½¿ç¨æ¹éæä½åºèèæ§è½é®é¢) url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true username: root password: root type: ${spring.datasource.type} # ä»åºæ°æ®æº slave: lazy: true type: ${spring.datasource.type} driverClassName: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true username: password: type: ${spring.datasource.type} # oracle: # type: ${spring.datasource.type} # driverClassName: oracle.jdbc.OracleDriver # url: jdbc:oracle:thin:@//localhost:1521/XE # username: ROOT # password: root # type: ${spring.datasource.type} # hikari: # connectionTestQuery: SELECT 1 FROM DUAL # postgres: # type: ${spring.datasource.type} # driverClassName: org.postgresql.Driver # url: jdbc:postgresql://localhost:5432/postgres?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true # username: root # password: root # type: ${spring.datasource.type} # sqlserver: # type: ${spring.datasource.type} # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver # url: jdbc:sqlserver://localhost:1433;DatabaseName=tempdb;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true # username: SA # password: root # type: ${spring.datasource.type} hikari: # æå¤§è¿æ¥æ± æ°é maxPoolSize: 20 # æå°ç©ºé²çº¿ç¨æ°é minIdle: 10 # é ç½®è·åè¿æ¥çå¾ è¶ æ¶çæ¶é´ connection-timeout: 60000 connectionTimeout: 10000 # æ ¡éªè¶ æ¶æ¶é´ validationTimeout: 5000 # 空é²è¿æ¥åæ´»æå¤§æ¶é´ï¼é»è®¤10åé idle-timeout: 60000 idleTimeout: 60000 # æ¤å±æ§æ§å¶æ± ä¸è¿æ¥çæé¿çå½å¨æï¼å¼0表示æ éçå½å¨æï¼é»è®¤30åé max-lifetime: 900000 # æå¤§è¿æ¥æ± æ°éï¼é»è®¤æ¯10 max-pool-size: 20 # æå°è¿æ¥æ± æ°é min-idle: 10 maxLifetime: 900000 # è¿æ¥æµè¯queryï¼é ç½®æ£æµè¿æ¥æ¯å¦ææï¼ connectionTestQuery: SELECT 1 # æ¤å±æ§æ§å¶ä»æ± è¿åçè¿æ¥çé»è®¤èªå¨æäº¤è¡ä¸ºï¼é»è®¤å¼ï¼true isAutoCommit: true --- # redis åæºé ç½®(åæºä¸é群åªè½å¼å¯ä¸ä¸ªå¦ä¸ä¸ªéè¦æ³¨éæ) spring: ruoyi-admin/src/main/resources/application-prod.yml
@@ -48,56 +48,56 @@ datasource: # ä¸»åºæ°æ®æº master: type: ${spring.datasource.type} driverClassName: com.mysql.cj.jdbc.Driver # jdbc ææåæ°é ç½®åè https://lionli.blog.csdn.net/article/details/122018562 # rewriteBatchedStatements=true æ¹å¤çä¼å å¤§å¹ æåæ¹éæå ¥æ´æ°å 餿§è½(å¯¹æ°æ®åºææ§è½æè ä½¿ç¨æ¹éæä½åºèèæ§è½é®é¢) url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true username: root password: root type: ${spring.datasource.type} # ä»åºæ°æ®æº slave: lazy: true type: ${spring.datasource.type} driverClassName: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true username: password: type: ${spring.datasource.type} # oracle: # type: ${spring.datasource.type} # driverClassName: oracle.jdbc.OracleDriver # url: jdbc:oracle:thin:@//localhost:1521/XE # username: ROOT # password: root # type: ${spring.datasource.type} # hikari: # connectionTestQuery: SELECT 1 FROM DUAL # postgres: # type: ${spring.datasource.type} # driverClassName: org.postgresql.Driver # url: jdbc:postgresql://localhost:5432/postgres?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true # username: root # password: root # type: ${spring.datasource.type} # sqlserver: # type: ${spring.datasource.type} # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver # url: jdbc:sqlserver://localhost:1433;DatabaseName=tempdb;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true # username: SA # password: root # type: ${spring.datasource.type} hikari: # æå¤§è¿æ¥æ± æ°é maxPoolSize: 20 # æå°ç©ºé²çº¿ç¨æ°é minIdle: 10 # é ç½®è·åè¿æ¥çå¾ è¶ æ¶çæ¶é´ connection-timeout: 60000 connectionTimeout: 10000 # æ ¡éªè¶ æ¶æ¶é´ validationTimeout: 5000 # 空é²è¿æ¥åæ´»æå¤§æ¶é´ï¼é»è®¤10åé idle-timeout: 60000 idleTimeout: 60000 # æ¤å±æ§æ§å¶æ± ä¸è¿æ¥çæé¿çå½å¨æï¼å¼0表示æ éçå½å¨æï¼é»è®¤30åé max-lifetime: 900000 # æå¤§è¿æ¥æ± æ°éï¼é»è®¤æ¯10 max-pool-size: 20 # æå°è¿æ¥æ± æ°é min-idle: 10 maxLifetime: 900000 # è¿æ¥æµè¯queryï¼é ç½®æ£æµè¿æ¥æ¯å¦ææï¼ connectionTestQuery: SELECT 1 # æ¤å±æ§æ§å¶ä»æ± è¿åçè¿æ¥çé»è®¤èªå¨æäº¤è¡ä¸ºï¼é»è®¤å¼ï¼true isAutoCommit: true --- # redis åæºé ç½®(åæºä¸é群åªè½å¼å¯ä¸ä¸ªå¦ä¸ä¸ªéè¦æ³¨éæ) spring: ruoyi-admin/src/main/resources/application.yml
@@ -131,8 +131,6 @@ - /favicon.ico - /*/api-docs - /*/api-docs/** # druid çæ§é ç½® - /druid/** # actuator çæ§é ç½® - /actuator - /actuator/** ruoyi-ui/src/views/monitor/druid/index.vue
ÎļþÒÑɾ³ý