1. application.properties中
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/my_new_table_1?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&useSSL=false
其中my_new_table_1是数据库名而不是连接名
2. pom.xml中填写对应的version
1. application.properties中
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/my_new_table_1?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&useSSL=false
其中my_new_table_1是数据库名而不是连接名
2. pom.xml中填写对应的version