revert database socket config