Get config parameters from db