Two days ago, our WPMU 2.7.1 instance went dark. No error messages or anything. Just Chrome's message saying "Oops! Site not found" or whatever.
We restarted the AMP stack and got the "Error establishing a database connection" message. Ok, that's better. But this, of course, means that I must re-create the wp-config.php file by renaming or deleting the old one, then hitting the site to get the config screen so I can input the DB info.
That brings me to my first question. Why is it that when AMP stack is restarted, WPMU never comes back on its own? Why do I have to RE-enter the DB info? The old wp-config.php file and the new wp-config.php are line-by-line identical to each other! What was wrong with the old one?
However, upon re-creating the wp-config.php file through the setup form, the database connection info didn't "take" this time. It just sent me right back to the "Error establishing a database connection" message. I can do this ad infinitum and it will never connect. And I'm copying the db name, hostname, username, and password directly from the old file that used to work!
Nobody touches this database and server instance to change/reset/update anything without my say-so. And I certainly didn't do anything to it prior to its suddenly going dark. It was just humming along and BAM! Dead.
In the case it's not something wrong with the MySQL server, which someone is looking at as I write this, what can I look at next? How do I get out of this loop of fail? And how do I make it so that if AMP ever has to be restarted, it will restart gracefully instead of making me re-create the file?
Thanks.