#mysql
spring:
datasource:
url: jdbc:mysql://localhost:3306/tlias_db # 数据库连接地址
username: root # 数据库用户名
password: 1234 # 数据库密码
driver-class-name: com.mysql.cj.jdbc.Driver # 数据库驱动
#mybatis
mybatis:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 打印sql语句到控制台
map-underscore-to-camel-case: true #开启驼峰
mapper-locations: classpath:mapper/*.xml # 指定mapper的xml映射文件的位置
type-aliases-package: com.itheima.tliasmanage.pojo # 指定实体类包名
#端口被占用时使用
#server:
# port: 9999