Just to clarify.
Your domain is with GoDaddy, your files are hosted with Hostgator.
If that’s the case…when you uploaded the files to HostGator, did you also export your WP database from GoDaddy, create a new one with HostGator and import the aforementioned database?
“Error establishing a database connection” usually happens when the credentials in the wp-config.php file are incorrect. If the database doesn’t exist on HostGator, that could easily be the source of your problem.
If the site is a WordPress site, then yes, you need the database. That’s where all of the sites content is stored.
Unless you’ve set up the database for yourself, then you haven’t got it ready. There could be a (normally large) file somewhere in what you have that’s got an extension of .sql and that would be a database dump. Just by what the seller told you, I would doubt that anything like that will be there though.
Hi alphaalec,
Where would l find the WP database in Godaddy as l do not think l saw this
When they sent me the files l went to Hostgator file manager and uploaded them from there.
Thought l had done it right but obviously not.
Hi catacaustic,
This is a WP site.
No l did not setup a database. Do not know how.
In the zip file they sent there seems to be a lot of wp files some 18 which also includes content,snapshots etc
Not sure whether this is much help or not
Cheers Murray
You really need to check one big thing here.
Did you purchase the entire site, complete with content, or did you purchase the theme and the domain name? There’s a huge difference. From what you’re saying it looks like they;ve only sold you the domain name and the theme and you have to set up your own WordPress installation, and add your own content to it.
Yes l purchased the entire site complete with content and domain name.
The site was up until l changed the nameservers and uploaded the files.
This is the file they sent me onlinesedzone.zip
Cheers Murray
You did say that there was content and snaspshots in what they sent? That could be what you need. But it still sounds like you’re going to have to do a fresh installation of WordPress and then set up the theme and add the content in. If you have problems you should really talk to the people that you brought the site form as they’ll know what they’ve supplied and how to make that back into a workable site.