Hello sir! I am new to Digitalocean and i am using serverpilot for hosting Wordpress. One of my site “www.uiter.com” is giving “Error establishing a database connection”. I don’t know why! but i searched on internet a lot about this and found that i need to check my database name, user, pass and host in wp-config.php file are correct or not. I checked and found it is correct. Please throw some light at me and tell me how can i remove this error. I am completely Noob and i have never used Hosting without Cpanel as my last hosting was of Interserver. Please help me.!!!
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.