fixed issue with db config when not on pagodabox