Started up a site this morning, that was working fine last night, and was met with the good ol “error establishing database connection”. When I try and go to adminer to check on the database, I get this message:
I was able to get a new copy of the site up and running with the sql file from the old one and everything appears to be ok. Super odd that it just randomly stopped working in the original install. Still would be interested to learn what exactly happened here.
What probably happened is that the Windows update happened when the Local site was running and something was corrupted in the process.
I don’t think this is something that we can replicate easily, but for example, when I tried to open that Local log you provided, it looks like some crazy things were dumped to the open file: