在application.yml中:
spring:
datasource:
url: jdbc:p6spy:mysql://localhost:3306/xxx?useUnicode=true&characterEncoding=UTF-8&useSSL=false
在logback.xml中:
注意useSSL=false,在logback.xml中添加useSSL需修饰 '&' 连接符 为'&'

在application.yml中:
spring:
datasource:
url: jdbc:p6spy:mysql://localhost:3306/xxx?useUnicode=true&characterEncoding=UTF-8&useSSL=false
在logback.xml中:
注意useSSL=false,在logback.xml中添加useSSL需修饰 '&' 连接符 为'&'