I’m not entirely sure what it is you’re attempting… but have you checked out Moving_WordPress? It may help.
thanks handysolo.
I have read that. I am taking the files from the old owner and uploading them to my server. I believe (and I may be wrong) that I have to edit the wp-config. That is where I am unsure what I have to change.
There is the DB_NAME, DB_USER, and DB_PASSWORD.
I dont know what exactly to change them to.
I don’t really understand what did you purchased as a “site”.
The domain name? Content?
If domain AND content – be aware nothing is in the files, every data is stored in the database!
As for your question: you host should be able to tell you the correct DB info. Or, if you created the database, you know them already.
I am sorry if I am not describing this correctly.
I bought an existing site from someone (domain name and content). It is a wordpress blog.
I was given two files – a zipped file of the wordpress files and a zipped file of the database.
I have uploaded the wordpress files to my sever, but I am getting an error saying that there is a database error.
Well, you need to restore that received databasse, too.
Basicalyy, what you got is a backup of the Db and now you need to restore it on your server:
http://codex.wordpress.org/Restoring_Your_Database_From_Backup