public String getJdbcUrl() {
        return "jdbc:postgresql://" + getContainerHostAddress() + ":5432/" + dbName;
    }
MySQLExternalDB is a extension of abstractExternalDB
Designed for MySQL external database connection
itests/util/src/main/java/org/apache/hadoop/hive/ql/externalDB/PostgresExternalDB.java