Skip to content

Commit

Permalink
Repair when docker compose up, docker_litemall service occurre log er…
Browse files Browse the repository at this point in the history
…ror, like this "The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server" (linlinjava#407)

Co-authored-by: hedc <[email protected]>
  • Loading branch information
xuepiao10000 and hedc authored Jun 26, 2020
1 parent 92cfea6 commit 4e9f960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/litemall/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spring:
encoding: UTF-8
datasource:
druid:
url: jdbc:mysql://mysql:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false
url: jdbc:mysql://mysql:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=true
driver-class-name: com.mysql.jdbc.Driver
username: litemall
password: litemall123456
Expand Down

0 comments on commit 4e9f960

Please sign in to comment.