Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
7c49d736
Commit
7c49d736
authored
Apr 04, 2019
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新默认数据库配置
parent
33ed697f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
src/main/resources/application-local.yml
+16
-16
No files found.
src/main/resources/application-local.yml
View file @
7c49d736
#Oracle配置
spring
:
datasource
:
driverClassName
:
oracle.jdbc.OracleDriver
url
:
jdbc:oracle:thin:@39.106.122.184
:1521:ORCLCDB
username
:
GUNS
password
:
GUNS
filters
:
wall,mergeStat
data-source-name
:
gunsdb
#
spring:
#
datasource:
#
driverClassName: oracle.jdbc.OracleDriver
# url: jdbc:oracle:thin:@127.0.0.1
:1521:ORCLCDB
#
username: GUNS
#
password: GUNS
#
filters: wall,mergeStat
#
data-source-name: gunsdb
#SQLServer配置
#spring:
...
...
@@ -29,14 +29,14 @@ spring:
# data-source-name: gunsdb
# Mysql数据库
#
spring:
#
datasource:
#
driver-class-name: com.mysql.cj.jdbc.Driver
#
url: jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT
#
username: root
#
password: root
#
filters: wall,mergeStat
#
data-source-name: gunsdb
spring
:
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=CTT
username
:
root
password
:
root
filters
:
wall,mergeStat
data-source-name
:
gunsdb
# 多数据源情况的配置
guns
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment