﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
16102,"""Update Network"" sometimes attempts to connect to incorrect database.",israelshirk,,"On Wordpress 3.1RC2, after installation on a network of sites I went to ""update network.""  We're using domain mapping, but nothing special past that.

This behaved as expected until it reached a site (say, a.com) which global DNS resolves to be elsewhere.  The site is currently being developed and once development is completed then we can update global DNS; for the moment, we're DNS spoofing on our local network to access it on our server.

Since we're not DNS spoofing on the server, it tries to connect to the database on the live site (as the webserver resolves it via normal DNS), can't connect, and stops the network update.  

One would not expect this behavior - instead it should connect to the same database it used for all the other sites, as specified in wp-config.php.

As a workaround, I was able to deactivate the ""a.com"" site, do the network upgrade, and then re-activate ""a.com"" - but cannot upgrade it.",defect (bug),closed,normal,,Upgrade/Install,3.1,minor,invalid,,
