End up with a frequently occurring error on establishing database connection while installing woocommerce plugin for wanium theme that I’ve recently purchased. The error shows after proceeding jetpack activation along with the woocommerce plugin. I’ve checked with server, MySql is failed to start. Then on performing reloading the apache server then start MySql again for access to WordPress admin again. I’ve tried reinstalling the wordpress, skipped the jetpack activation, but all will comes and end up with the same issue. While making any changes to wordpress admin will result in “Error establishing a database connection”.
Mostly this message is shown when the hosting provider runs an upgrade or system maintenance. After a short period of time it is restored. I recommend you to ask your hosting provider about this issue.