database settings configured properly, environments made distinct