class MySQLRecognizer implements JDBCDriverURLRecognizer {

    @Override
    public String getDriverClassName() {
        try {
            Class.forName("com.mysql.cj.jdbc.Driver");
            return "com.mysql.cj.jdbc.Driver";
        } catch (final ClassNotFoundException ignore) {
            return "com.mysql.jdbc.Driver";
        }
    }

}