@classmethod
def parseDbConn(cls, db_conn):
    db_conf = urlparse(db_conn)
    cls.db_type = db_conf.scheme.upper().strip()
    cls.db_host = db_conf.hostname
    cls.db_port = db_conf.port
    cls.db_user = db_conf.username
    cls.db_pwd = db_conf.password
    cls.db_name = db_conf.path[1:]
    return cls
@classmethod
def parseDbConn(cls, db_conn):
    db_conf = urlparse(db_conn)
    cls.db_type = db_conf.scheme.upper().strip()
    cls.db_host = db_conf.hostname
    cls.db_port = db_conf.port
    cls.db_user = db_conf.username
    cls.db_pwd = db_conf.password
    cls.db_name = db_conf.path[1:]
    return cls