lib: trim the space from the DB config line.