当前位置:网站首页>常用的配置
常用的配置
2022-07-30 05:51:00 【果绿森裙@】
#配置数据库
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/onlinemusic?characterEncoding=utf8&serverTimezone=UTC
spring.datasource.username=你的用户名
spring.datasource.password=你的密码
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#配置xml
mybatis.mapper-locations=classpath:mybatis/**Mapper.xml
#配置springboot上传文件的大小,默认每个文件的配置最大为15Mb,单次请求的文件的总数不能大于100Mb
spring.servlet.multipart.max-file-size = 15MB
spring.servlet.multipart.max-request-size=100MB
# 配置springboot日志调试模式是否开启
debug=true
# 设置打印日志的级别,及打印sql语句
#日志级别:trace,debug,info,warn,error
#基本日志
logging.level.root=INFO
logging.level.com.example.onlinemusic.mapper=debug
#扫描的包:druid.sql.Statement类和frank包
logging.level.druid.sql.Statement=DEBUG
logging.level.com.example=DEBUG边栏推荐
- assert
- Redis download and installation
- 限塑令下的新材料——聚乳酸(PLA)
- go : create database records using gorm
- 你被MySQL 中的反斜杠 \\坑过吗?
- Is it possible to use the same port for UDP and TCP?
- ETL为什么经常变成ELT甚至LET?
- When does MySQL use table locks and when does it use row locks?
- The calculation and source code of the straight line intersecting the space plane
- 华为发布“十大发明”,包含计算、智能驾驶等新领域
猜你喜欢

Redis download and installation

Electron之初出茅庐——搭建环境并运行第一个程序

LVM and disk quotas

idea built-in translation plugin

The calculation proof of the intersection of the space line and the plane and its source code

2020 ACM | MoFlow: An Invertible Flow Model for Generating Molecular Graphs

阿里二面:Sentinel vs Hystrix 对比,如何选择?

What are the access modifiers, declaration modifiers, and keywords in C#?Literacy articles

When does MySQL use table locks and when does it use row locks?

VR机器人教你如何正确打乒乓球
随机推荐
window.open()的用法,js打开新窗体
UDP和TCP使用同一个端口,可行吗?
go : go-redis list操作
进制转换。。。
MYSQL 主从恢复锁表后, 处理SQL 线程锁解决.
人工肌肉智能材料新突破
The calculation proof of the intersection of the space line and the plane and its source code
[硬核干货]由0到1,突破信息系统项目管理师(呕心沥血经验之谈)!!!
架构设计指南 如何成为架构师
goto语句
MySQL题外篇【ORM思想解析】
Develop common tool software
go : use gorm to modify data
MySQL off-topic [ORM thought analysis]
2020 数学建模之旅
Go uses the mencached cache
New material under the plastic restriction order - polylactic acid (PLA)
Ali: How many methods are there for multi-threaded sequential operation?
这个终端连接工具,碾压Xshell
STL源码剖析:临时对象的代码测试和理解