I have a friend with a website (http://www.ancientempires-tours.com) that was built with WordPress by someone who is not friendly to my friend anymore. We decided to move his site to my server. I copied all of the files from his current server and created a subdomain (egypt.aragren.com) to test the site on my server. The result was an error message, "Error making a database connection." I installed a new copy of WP to the Egypt folder on my server. The result was a page that was evidently auto-created by the WP install. We do not want to build the whole website from scratch. How can I get the existing website back up on my server.
I guess whatever we do, I will have to repeat the process once we move the Domain to my server.
I have never used WP and I know I am missing something essential in my understanding of what WP is for. I would appreciate any help understanding what is happening and what I need to do to make my friend's website work on my server.