[wp-trac] [WordPress Trac] #16102: "Update Network" sometimes attempts to connect to incorrect database.

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 5 01:02:53 UTC 2011


#16102: "Update Network" sometimes attempts to connect to incorrect database.
-----------------------------+-----------------------------
 Reporter:  israelshirk      |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  3.1
 Severity:  minor            |   Keywords:
-----------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16102>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list