Get value for db from settings