# 指定此配置结果为true,那么MyBatis在处理结果集(ResultSet)时,
# 会自动将数据库表中的列名从下划线命名法转换为驼峰命名法。
mybatis:
configuration:
map-underscore-to-camel-case: true
server:
port: 8080
spring:
data:
redis:
host: 192.168.27.129
password: password
port: 6379
datasource:
# mysql8.0.33
driver-class-name: com.mysql.cj.jdbc.Driver
password: password
url: jdbc:mysql://127.0.0.1:3306/database?characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
username: root
那些yml写过的配置
于 2024-02-17 15:01:48 首次发布