There are times when you might have a database connection error. If you are on the Ubuntu system on Amazon hosting then run this command.
sudo service mysql
or try this
sudo /etc/init.d/mysql start
I hope you enjoyed the article. If I was able to help you please consider a tip for the content.
One Time Tip