Spring Boot 2.1.0 and above versions configure the yml configuration of the druid connection pool several pits (personally enter the pit to experiment)

Insert picture description here
The code of the data source configuration file class is as follows:
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_2662385590/article/details/105737669
Recommended