code: def parse_db_url(db_url):
      
      u = urlparse(db_url)
      db = {}
      db["database"] = u.path[1:]
      db["user"] = u.username
      db["password"] = u.password
      db["host"] = u.hostname
      db["port"] = u.port
      return db
docs: provided a db url, return a dict with connection properties