I am having a primary website and I am trying to host a new website in my CPanel Ultimate hosting plan.
I configured the addon domain and uploaded all files via ftp in the new directory.
Also i have uploaded the database and created the user,modified wp_options table.
Cross verified by a test file and connection is up.
Still I am getting error "Error establishing a database connection" when opening home page.
I dont know what I am doing wrong. Please suggest if something else is required
Go to Solution.
Thanks for posting. That error indicates it's an issue with your connection strings. You'll need to follow the steps in this guide. Hope that helps!