修复linux下提交中文乱码问题
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#===datasource start===
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#===datasource end===
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#===datasource start===
|
||||
spring.datasource.url=jdbc:mysql://db:3306/mall
|
||||
spring.datasource.url=jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#===datasource end===
|
||||
|
||||
Reference in New Issue
Block a user