当前位置:网站首页>常用的配置
常用的配置
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边栏推荐
- Go语学习笔记 - gorm使用 - 数据库配置、表新增 Web框架Gin(七)
- this与super
- go : go-redis 基础操作
- How to understand plucker coordinates (geometric understanding)
- window.open()的用法,js打开新窗体
- roslyn folder under bin folder
- 架构设计指南 如何成为架构师
- The newcomer deleted data by mistake, and the team leader skillfully used MySQL master-slave replication to delay the recovery of losses
- C# 使用RestSharp 实现Get,Post 请求(2)
- The first artificial intelligence safety competition officially launched
猜你喜欢

阿里二面:列出 Api 接口优化的几个技巧

Is it possible to use the same port for UDP and TCP?

Ali two sides: Sentinel vs Hystrix comparison, how to choose?

Camera coordinate system, world coordinate system, pixel coordinate system conversion, and Fov conversion of OPENGLDEFocal Length and Opengl

五号黯区靶场 mysql 注入之limit注入记录

人工肌肉智能材料新突破

“AI教练”请进家,家庭智能健身蓬勃发展

How does Redis prevent oversold and inventory deduction operations?

【MySQL】MySQL中如何实现分页操作

图解关系数据库设计思想,这也太形象了
随机推荐
How does Redis prevent oversold and inventory deduction operations?
Go 使用mencached缓存
阿里二面:Sentinel vs Hystrix 对比,如何选择?
B站崩了,如果是你是那晚负责的开发人员你会怎么做?
go : 使用gorm查询记录
New material under the plastic restriction order - polylactic acid (PLA)
Vue2进阶篇-编程式路由导航、缓存路由组件、路由的激活与失活
How to use Swagger, say goodbye to postman
专访蚂蚁:这群技术排头兵,如何做好底层开发这件事?| 卓越技术团队访谈录
C# 使用RestSharp 实现Get,Post 请求(2)
go : 使用gorm创建数据库记录
What new materials are used in the large aircraft C919?
sizeof
Derivative Operations on Vectors and Derivative Operations on Vector Cross and Dot Products
Redis 如何实现防止超卖和库存扣减操作?
STL源码剖析:class template explicit specialization代码测试和理解
MySQL master-slave replication configuration construction, one step in place
uniapp中canvas与v-if更“配”
从 Google 离职,前Go 语言负责人跳槽小公司
Camera coordinate system, world coordinate system, pixel coordinate system conversion, and Fov conversion of OPENGLDEFocal Length and Opengl