Get config parameters from database