Skip to content

can't support mysql 8.0 Driver #5

@lexingrensheng

Description

@lexingrensheng

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions