Wordpress Error

Wordpress Get Database Error

Error establishing a database connection

Solution

1)Login to Server Console and Command the Follow

sudo service mysql start  

Normally after Complete the Step1 the MySql database will Start again.

2)But in case other security or system issue . we need to update the Ubuntu Server and their software.

sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove