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
8edd5129
Commit
8edd5129
authored
Oct 08, 2018
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改mysql版本
parent
4de6d5b3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
pom.xml
+7
-0
src/main/resources/application.yml
+5
-5
No files found.
pom.xml
View file @
8edd5129
...
...
@@ -22,6 +22,7 @@
<beetl.version>
2.8.5
</beetl.version>
<swagger.version>
2.9.2
</swagger.version>
<ehcache.core.version>
2.6.11
</ehcache.core.version>
<mysql-connector-java.version>
8.0.11
</mysql-connector-java.version>
<jwt.version>
0.9.0
</jwt.version>
</properties>
...
...
@@ -46,6 +47,12 @@
<version>
1.0.0
</version>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
${mysql-connector-java.version}
</version>
</dependency>
<!--spring boot依赖-->
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
src/main/resources/application.yml
View file @
8edd5129
...
...
@@ -37,7 +37,7 @@ log:
spring
:
profiles
:
local
datasource
:
url
:
jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=
UTC
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
db-name
:
guns
#用来搜集数据库的所有表
...
...
@@ -47,7 +47,7 @@ spring:
guns
:
muti-datasource
:
open
:
false
url
:
jdbc:mysql://127.0.0.1:3306/guns_test?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=
UTC
url
:
jdbc:mysql://127.0.0.1:3306/guns_test?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=
CTT
username
:
root
password
:
root
dataSourceNames
:
...
...
@@ -59,7 +59,7 @@ guns:
spring
:
profiles
:
dev
datasource
:
url
:
jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=
UTC
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
db-name
:
guns
#用来搜集数据库的所有表
...
...
@@ -70,7 +70,7 @@ spring:
spring
:
profiles
:
test
datasource
:
url
:
jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=
UTC
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
...
...
@@ -80,7 +80,7 @@ spring:
spring
:
profiles
:
produce
datasource
:
url
:
jdbc:mysql://127.0.0.1:3306/guns?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=UTC
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
...
...
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