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.!!!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!