spring:
datasource:
url: jdbc:mysql://localhost:3306/jdbctemplate?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
password: root
driver-class-name: com.mysql.jdbc.Driver
username: root
注意idea本身的提示是错误的
spring:
datasource:
url: jdbc:mysql://localhost:3306/jdbctemplate?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
driver-class-name: com.mysql.jdbc.Driver
data-password:
data-username:
第二个配置文件是错误的。坑爹的idea