Need help cloning a site – please help!
I have a site that I made for some people a while ago. I need to clone the site to a new server.
I downloaded all the latest db tables and also the entire site files.
I setup a new database via my sql databases on the new server. I edited the sql file as instructed in a guide to change the web address to my new address – I changed the domain name to mynewdomain.com/newsite (in a sub directory)
I then uploaded all the files to this sub directory on the new server and tried to link the two by editing the wp-config file.
I changed in the wp-confifg file : define(‘DB_NAME’, ‘my_sql_db_name’);
However I am having no luck and I have the message in my browser:
“Error establishing a database connection”
If anyone can please help me and advise where I am going wrong I would be very very grateful.
- The topic ‘Need help cloning a site – please help!’ is closed to new replies.