spring-boot-samples icon indicating copy to clipboard operation
spring-boot-samples copied to clipboard

How to set connection-init-sql in DriverManagerDataSource

Open ninjachen opened this issue 7 years ago • 0 comments

Hi, I follow the your guide, and use the DriverManagerDataSource to setup my multiple datasource support. Questions: I want to set connection-init-sql=SET NAMES utf8mb4, how to do this? How to use the pool with DriverManagerDataSource?

ninjachen avatar Nov 26 '18 09:11 ninjachen