def parse_db_list(dbstr):
    """
    Parse the customer provided db list and convert to space separated string
    Args:
        dbstr (string): comma separated dblist
    Returns:
        dbs (string) : space separated  dblist
    """
    dbs=""
    if dbstr is None or dbstr.strip()=="" or dbstr.strip().upper()=="ALL":
        dbs= "ALL"
    else:
        dbstr = dbstr.strip()
        dblist = dbstr.split(",")
        for db in dblist:
            db=db.strip()
            dbs+=db
            dbs+=" "
        dbs+= "mysql"
        dbs = dbs.strip()
    return dbs