Received "error establishing a database connection" in attempt to move site
-
I recently finished a new website I created for a client in a sub folder of their current site. I used this video as instructions for moving the new website from the sub folder to the public_html folder in order to make the site live.
But it didn’t work!!! When I refreshed the site’s main url, the new site appeared like normal and I thought everything had worked. But when I tried to go to any page or link on the site it gave me an error and said it couldn’t be found.
Next, I decided to put the old site back up and move the new one back into the sub folder where it was. So I reversed my steps I had taken in the video. When I did that, their old site was back up just fine, but the site I created was completely gone!! Nothing shows except a message saying “Error establishing a database connection.”
I’m freaking out and I don’t know what to do. I’ve checked the sql database file and it says all the links are pointing to the sub domain which is were my site is. But somehow it’s not connecting.
Is there anything anyone can do to help?!?
- The topic ‘Received "error establishing a database connection" in attempt to move site’ is closed to new replies.