与sql数据库的连接,必须在application.properties中配置数据源
spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://.. spring.datasource.username=//.. spring.datasource.password=//..