public String getJdbcUrl(String databaseName) {
        String additionalUrlParams = constructUrlParameters("?", "&");
        String queryString = "?useSSL=false&allowPublicKeyRetrieval=true";
        String baseUrl = "jdbc:mysql://"
                + getHost()
                + ":"
                + getDatabasePort()
                + "/"
                + databaseName
                + additionalUrlParams;

        return baseUrl.contains("?")
                ? baseUrl + "&" + queryString.substring(1)
                : baseUrl + queryString;
    }
Docker container for MySQL. The difference between this class and {@link
org.testcontainers.containers.MySQLContainer} is that TC MySQLContainer has problems when
overriding mysql conf file, i.e. my.cnf.
inlong-sort/sort-end-to-end-tests/sort-end-to-end-tests-v1.15/src/test/java/org/apache/inlong/sort/tests/utils/MySqlContainer.java