遇到这个问题,可以在application.yml中加入下面内容:
spring:
application:
name: (自己的名字)
datasource:
driverClassName: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/mybatis
username: root
password: 123456
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
最新推荐文章于 2022-03-27 10:08:44 发布