配置数据库

This commit is contained in:
95478 2024-06-25 01:05:35 +08:00
parent 05cef852d5
commit 4bdbcaf7c6

View File

@ -15,14 +15,16 @@ itbaima:
contact-cache: true contact-cache: true
work-dir: robot-data work-dir: robot-data
cache-dir: cache cache-dir: cache
spring: spring:
datasource: datasource:
driverClassName: com.mysql.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/microservice url: jdbc:mysql://localhost:3306/database
username: root username: root
password: root password: 123456
# thymeleaf: # thymeleaf:
# suffix: .html # suffix: .html
# prefix: classpath:/templates/ # prefix: classpath:/templates/
server: server:
port: 8080 port: 8080