I'm getting sometimes WordPress error screen:
ERROR ESTABLISHING A DATABASE CONNECTION
It's happening when I'm trying to add new post but than when I refresh the page everything works normally than.
Until I try to add new post or it works directly or I get the error page and that's also happening when I'm pressing on the "Add new post" button that is in the "Posts" page.
I already tried to optimize and fix the database using /wp-admin/maint/repair.php , the results of the repair are all OK
I'm not having this problem when browsing the website on the fronted.
Please note that I started noticing this problem after updating from 3.4.1 to 3.4.2.