Commit 966e08c6bc23c03c8a40c17848bdcc421d71496e

Authored by changpengfei
1 parent aed17717ad
Exists in master and in 1 other branch dev

更新配置文件

Showing 2 changed files with 9 additions and 3 deletions

talkonlineweb/pom.xml View file @ 966e08c
... ... @@ -51,11 +51,17 @@
51 51 <artifactId>commons-io</artifactId>
52 52 <version>2.6</version>
53 53 </dependency>
54   - <!-- MySQL jdbc driver -->
  54 + <!-- MySQL jdbc driver 测试环境-->
  55 +<!-- <dependency>-->
  56 +<!-- <groupId>mysql</groupId>-->
  57 +<!-- <artifactId>mysql-connector-java</artifactId>-->
  58 +<!-- <version>5.1.37</version>-->
  59 +<!-- </dependency>-->
  60 + <!-- MySQL jdbc driver 正式环境-->
55 61 <dependency>
56 62 <groupId>mysql</groupId>
57 63 <artifactId>mysql-connector-java</artifactId>
58   - <version>5.1.34</version>
  64 + <version>8.0.26</version>
59 65 </dependency>
60 66 <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
61 67 <dependency>
talkonlineweb/src/main/resources/application-prod.yml View file @ 966e08c
1 1 spring:
2 2 datasource:
3   - driver-class-name: com.mysql.jdbc.Driver
  3 + driver-class-name: com.mysql.cj.jdbc.Driver
4 4 url: jdbc:mysql://192.168.1.46:3306/talkonline?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8
5 5 username: platform
6 6 password: Platform123