For along time now I have been trying to have a mirror copy of my live Nuke Evolution Extreme website, on a localhost XAMMP server. The reason is so that I can test modules and blocks on the localhost without applying them to the live site before I have tested them to make sure they don`t throw up any errors.
I got stuck for a long time, nearly 4 weeks, the problem was other software on the ports being used by XAMMP. I have resolved this issue now and moved onto the next stage trying to import over my live site files to get a working copy on localhost. This is what I have done so far :
1. Through CPanel I downloaded a backup of the home folder and mysql database. These both come as zip files so I unzipped them both to reveal the files on my desktop.
2. Then I went to c:/XAMMP/htdocs/myWeb and dropped in the unzipped home files here
3. I then went to the phpmyadmin, created a new database, added a user with all privelages, then imported the sql from my live site, this created over 2000 tables and the install worked
This is the part where I get stuck when I go to http://localhost/htdocs/myWeb/index.php
I get an error saying cannot connect to mysql database. Is there a step that I have missed out ? Do I need to somehow link the sql to the web files held on the local host ?
I`ve spent hours reading up on the net, the more I read the more confused I get. Please someone help to put me out of my misery : (