当前位置:网站首页>常用的配置
常用的配置
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边栏推荐
- The calculation proof of the intersection of the space line and the plane and its source code
- idea built-in translation plugin
- 云服务器零基础部署网站(保姆级教程)
- MySQL基础篇【命名规范】
- Huawei released "ten inventions", including computing, intelligent driving and other new fields
- Vue2进阶篇-编程式路由导航、缓存路由组件、路由的激活与失活
- Oracle查看表空间使用率及爆满解决方案
- 万能js时间日期格式转换
- How to understand plucker coordinates (geometric understanding)
- go : go gin返回JSON数据
猜你喜欢

No, the Log4j vulnerability hasn't been fully fixed yet?

Go 结合Gin导出Mysql数据到Excel表格

Station B collapsed, what would you do if you were the developer in charge that night?

redis实现分布式锁的原理

mysql高阶语句(一)

STL源码剖析:class template explicit specialization代码测试和理解

Huawei released "ten inventions", including computing, intelligent driving and other new fields

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

bean的生命周期

Electron之初出茅庐——搭建环境并运行第一个程序
随机推荐
手机端滚动至页面指定位置
The Society of Mind - Marvin Minsky
【MySQL】MySQL中如何实现分页操作
Mobile phone side scroll to page to specify location
Universal js time date format conversion
识别“数据陷阱”,发现数据的可疑之处
阿里二面:Sentinel vs Hystrix 对比,如何选择?
Goto statements
STL source code analysis: conceptual understanding of iterators, and code testing.
《心智社会》—马文·明斯基
redis实现分布式锁的原理
Required request body is missing problem solving
node.js中实现对数据库的链式操作
AI can identify race from X-rays, but no one knows why
LVM and disk quotas
mysql高阶语句(一)
入选“十大硬核科技”,详解可信密态计算(TECC)技术点
[硬核干货]由0到1,突破信息系统项目管理师(呕心沥血经验之谈)!!!
MySQL off-topic [ORM thought analysis]
go : create database records using gorm