You might feel secure since you didn’t shared your login credentials. But have read about latest wp 3.8.2 update news?
Make sure your setup not compromised.
Error establishing a database connection means your wp-config.php might be corrupted. Better verify that.
Trust me, I have not been. Like I said, it’s an intranet and also a government facility. Thanks for the tip on the update though…had not seen that. Maybe it will fix it (I can only hope).
Oops! I missed its on an intranet.
Then do one thing. Backup wp-config.php.
1.Now download fresh wp copy to local pc and get the clean wp-config file from that.
2.Enter database credentials like db name, db user name, db password, table prefix (not new one the same existing in the db), and salt keys.
3.Add extra lines of code, if any, generated by plugins like Better WP Security etc.
4.Make sure every thing is correct.
5.renaming the existing one to wp-config-bak.php
6.Upload new wp-config.php to the respective directory folder
7.Now try to login to backend. If it work ok. otherwise replace with the previous wp-config.php
8.If all the above method doesn’t give you fruitful result, then try to install local servers in you PC using MAMPP, XAMPP etc. Then develop using the wp files and DB backup of the problematic sites on local server. After finding a reasonable solution for the issues concern, then apply them to the site on an intranet.
Additionally, and you probably have, but verify that the MySQL server is running; restart even if it is. Restart Apache (or whatever web server you are running) as well.