Hmmm... Don't think I quite get all the required setup yet.
When going to my site nearlynewnearyou.co.uk (after making it so that it will use the local version) I get "Error establishing a database connection"
In my httpd.conf I have:
In my wp-config I have (some details changed as I guessed it would cause a security issue if it were the real data):
and my hosts looks like this:
myphpadmin shows that I have a database called 'mydname' (matches what is in wp-config) and under privileges of that db a user called 'myusername' with a password of 'mypassword' (both match what is in wp-config) and set to have all privileges.
I have exported the live site db 'mydbname' and then imported that data back into the local 'mydbname'
I also ftp'd all the live sites public_html into C:\wamp\www\nearlynewnearyou.co.uk\
Any idea what I could have done wrong to get that error?