WordPress: Error Establishing Database
I have a 512MB droplet running CentOS 7 and I’m trying to set up wordpress (I didn’t do the initial 1-click install). Everything is installed (Apache, MariaDB, etc) and everything is configured (I believ) but when I go to my site I get “error establishing database” on the front and back end. I’ve already created a relatively large swap file (4 gigs) but it doesn’t seem to have made a difference. There are no plugins installed. Scouring the internet has yet to help. Any suggestions are greatly appreciated!
(I’m brand new at this, so let me know if I left out any needed information).
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.