diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 2d976fc..09ee3d4 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,10 +1,12 @@ # 应用服务 WEB 访问端口 +spring.application.name=web_project +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +spring.datasource.url=jdbc:jdbc:mysql://localhost:3306//webproject +spring.datasource.username=root +spring.datasource.password=123456 server.port=8080 - - #下面这些内容是为了让MyBatis映射 #指定Mybatis的Mapper文件 mybatis.mapper-locations=classpath:mappers/*xml #指定Mybatis的实体目录 mybatis.type-aliases-package=com.qf.myafterprojecy.mybatis.entity -