升级Mysql驱动到8的版本
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>mysql</groupId>
|
<groupId>mysql</groupId>
|
||||||
<artifactId>mysql-connector-java</artifactId>
|
<artifactId>mysql-connector-java</artifactId>
|
||||||
<version>5.1.26</version>
|
<version>8.0.29</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.auth0</groupId>
|
<groupId>com.auth0</groupId>
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: com.mysql.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://39.104.100.138:3306/demo_system?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
url: jdbc:mysql://39.104.100.138:3306/demo_system?serverTimezone=GMT%2B8&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
||||||
username: root
|
username: root
|
||||||
password: yxt_mysql_138
|
password: yxt_mysql_138
|
||||||
|
|
||||||
|
image:
|
||||||
upload:
|
upload:
|
||||||
path: D:\demo\upload\
|
path: D:\demo\upload\
|
||||||
url:
|
url:
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: demo-system
|
name: demo-system
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
# active: dev
|
||||||
|
active: test
|
||||||
messages:
|
messages:
|
||||||
# 国际化资源文件路径
|
# 国际化资源文件路径
|
||||||
basename: i18n/messages
|
basename: i18n/messages
|
||||||
|
|||||||
Reference in New Issue
Block a user