spring boot 的application.properties配置
application.properties
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
1 spring.datasource.url.jdbc=mysql://localhost:3306/数据库名?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&useSSL=false 2 spring.datasource.username= root 3 spring.datasource.password= 123456
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
1 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource 2 spring.datasource.initialSize= 20 3 spring.datasource.minIdle= 10 4 spring.datasource. maxActive=100
# 配置MyBatis的xml配置文件路径
mybatis.mapper-locations=classpath:mapper/*.xml
# 配置XML映射文件中指定的实体类别名路径
mybatis.type-aliases-package=com.mybatis.demo.domain
# 开启驼峰命名匹配映射
mybatis.configuration.map-underscore-to-camel-case=true