Repair when docker compose up, docker_litemall service occurre log error, like this "The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server" (#407)
Co-authored-by: hedc <3479785008h@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user