get db params from env