-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
io.openmessaging.mysql.binlog.EventProcessor
`
private void initDataSource() throws Exception {
Map<String, String> map = new HashMap<>();
map.put("driverClassName", "com.mysql.jdbc.Driver");
map.put("url", "jdbc:mysql://" + config.mysqlAddr + ":" + config.mysqlPort + "?useSSL=true&verifyServerCertificate=false");
map.put("username", config.mysqlUsername);
map.put("password", config.mysqlPassword);
map.put("initialSize", "2");
map.put("maxActive", "2");
map.put("maxWait", "60000");
map.put("timeBetweenEvictionRunsMillis", "60000");
map.put("minEvictableIdleTimeMillis", "300000");
map.put("validationQuery", "SELECT 1 FROM DUAL");
map.put("testWhileIdle", "true");
dataSource = DruidDataSourceFactory.createDataSource(map);
}
`
not support mysql 8.0
Metadata
Metadata
Assignees
Labels
No labels