当前位置:网站首页>Druid database connection pool monitoring page
Druid database connection pool monitoring page
2022-07-16 07:45:00 【Yi Tianyu】
One pom file
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.10</version>
</dependency>
Two yml Add the following configuration to the configuration file
spring:
datasource:
url: jdbc:mysql://localhost:3306/yty_user_service?useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: root
password: root
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
druid:
stat-view-servlet:
enabled: true
url-pattern: /druid/*
login-username: admin
login-password: admin3、 ... and Page access
http://localhost:9001/user_api/druid/index.html

边栏推荐
- Minimum cycle section in KMP
- LVM与磁盘配额
- 线程池和生产者消费者模型
- NAT and pat principle and configuration
- Setting the login interface in JMeter can only be called once
- help one another in defense work
- "Why do you want to resign, Tencent, which broke its head?"
- LVM and disk quota
- 【LeetCode】796. 旋转字符串
- Scheduledthreadpoolexecutor source code and error explanation
猜你喜欢

The core difference between fairness and unfairness of reentrantlock
![[sword finger offer] special summary of linked list](/img/5d/7b951a75caf8818cb1191f83b7fa94.png)
[sword finger offer] special summary of linked list

Set up in Jenkins to show the summary of allure Report

Volatile final explanation

网络层协议

Is it reliable to switch to software testing at the age of 30? The mental journey of a person who came here is for you who are confused

26 years old, has worked in automation for three years, and the monthly salary is only 12K. Can you change jobs and find a higher salary job?
![[Oracle] configure Oracle database in docker](/img/eb/9f0cf44f3e55402a3f0814867daa20.png)
[Oracle] configure Oracle database in docker

【剑指Offer】链表专项总结

As an interviewer for the test development post, how do I choose people?
随机推荐
为什么都说测试岗位是巨坑?10年测试人告诉你千万别上当~
Basic introduction to flask 7 cookies and sessions
【MySQL】分页查询踩坑
5年经验之谈:月薪3000到30000,测试工程师的变“行”记...
How to quickly test the new product just taken over
文件管理-阿里云OSS学习(一)
30岁转行软件测试靠谱吗?一个过来人的心路历程送给迷茫的你
Flask基础入门六-上下文
Five years' experience: the monthly salary is 3000 to 30000, and the change of Test Engineers
TCP protocol details
Dictionary tree
【LeetCode】442. Duplicate data in array
Is it true that you can't do software testing until you're 35? So what should I do I'm 36
Generally speaking, cookies, sessions, and tokens are different
Setting the login interface in JMeter can only be called once
NAT and pat principle and configuration
Thread pool and producer consumer model
26 years old, has worked in automation for three years, and the monthly salary is only 12K. Can you change jobs and find a higher salary job?
This should be the most complete software test interview question in the whole network [quick look]~
The core difference between fairness and unfairness of reentrantlock