Changing database connectivity