From 61576ce31d5ec638357e5cb6839a0857979cdd4a Mon Sep 17 00:00:00 2001
From: li_she
Date: Wed, 14 Jul 2021 10:39:49 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20'src/main/resources/applic?=
=?UTF-8?q?ation-prod.yml'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/resources/application-prod.yml | 49 -------------------------
1 file changed, 49 deletions(-)
delete mode 100644 src/main/resources/application-prod.yml
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
deleted file mode 100644
index ee68cbf..0000000
--- a/src/main/resources/application-prod.yml
+++ /dev/null
@@ -1,49 +0,0 @@
-spring:
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- druid:
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://localhost:3306/gaotao_fast?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
- username: gaotao
- password: 123456
- initial-size: 10
- max-active: 100
- min-idle: 10
- max-wait: 60000
- 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 FROM DUAL
- 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
-
-
-##多数据源的配置
-#dynamic:
-# datasource:
-# slave1:
-# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
-# url: jdbc:sqlserver://localhost:1433;DatabaseName=gaotao_security
-# username: sa
-# password: 123456
-# slave2:
-# driver-class-name: org.postgresql.Driver
-# url: jdbc:postgresql://localhost:5432/gaotao_security
-# username: gaotao
-# password: 123456
\ No newline at end of file