Hi, I'm having the weirdest of issues. I'm running a multisite installation with several sites, and i'm having an issue in only one of them.
The problem happens when trying to access the homepage of the blog, using a custom domain. Let's say site.com/ is the parent blog, and there's a site.com/unitedkingdom, which has the domain site.uk mapped to it. Now, when trying to access site.uk, i get the "error establishing a database connection", but only if im not logged in; if i am, i don't have the issue. if i access a page in this sub-site (let's say http://site.uk/page/ ) there's no problem neither.
If i remove the mapped domain or just set site.com/unitedkingdom as main domain, the homepage loads without problem.
Any ideas where this could come from ? There is no other sub-site with the same problem, and they all have the same structure. This is driving me nuts. I've tried repairing the db, updating the network... but nothing changes.