Error establishing database connection

[ad_1]

I can do sudo su and then systemctl start mariadb and I can connect to my page. But it only stays up for a while until I get the error again. I am using AWS EC2. I also double check my wp-config.php file and everything is correct.

Any suggestions on how to fix this issue? I did some research but nothing seems to work.

Also when it does work, it’s super slow at loading pages. So could the problem be plugins related or memory?

[ad_2]
3 Comments
  1. Awwww, doesn’t that t2-micro have enough horsepower to pull your hat off?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer