参考:Spring Boot连接数据库的配置文件—-application.properties
Spring Boot连接数据库的配置文件—-application.properties_RK-CSDN博客
打开应用的配置文件
配置数据库信息
spring.datasource.driver-class-name=com.mysql.jdbc.Driverspring.datasource.url=jdbc:mysql://1.117.163.52:3306/flutter?serverTimezone=UTCspring.datasource.username=flutterspring.datasource.password=yu020506
spring.datasource.driver-class-name  数据库驱动spring.datasource.url                     数据库地址spring.datasource.username               数据库用户名spring.datasource.password                  数据库密码
