Copy the WP directory and MySQL from XP to Win7 machine?
-
I’m building my first WordPress site. I have XAMPP running on two local PC computers.
I installed the latest XAMPP on my Win7 computer, and the final XAMPP that supports WinXP on my trusty XPpro Pentium4. Specifically, XAMPP 1.8.2 with PHP 5.4.31
Both local installations have the latest WP (4.1.1) installed in identically named sub-directories:
c:\xampp\htdocs\wp-123Both local WP installations connect to identically-named MySQL databases named: wp-123
As I understand it, my local PHP version has to be relatively close to the PHP version employed by the online host – HostGator shared UNIX, running PHP 5.5x. I’ve been doing initial development on the old XP because it’s convenient for me. But I figure to migrate my actual, finished WP site from my newer Win7 computer to the root directory of the online hosting account – because those PHP versions should be a reliable match.
QUESTION 1:
Can I just copy the directory c:\xampp\htdocs\wp-123 from my WinXP computer to my Win7 computer?1. The WP directories on both machines are named identically.
2. The MySQL databases on both machines are named identically.
3. The WordPress installation on both machines is the latest, version 4.1.1
4. XAMPP and PHP on the XPpro machine are older than XAMPP and PHP on the Win7 machine.QUESTION 2:
If the answer to Question is affirmative (YES), I assume I’ll have to copy the MySQL database from the XP machine to the Win7 machine, too. Can you tell me where to find it, and whether I can simply drag-and-drop a copy from XP to Win7?Thanks,
Tom
- The topic ‘Copy the WP directory and MySQL from XP to Win7 machine?’ is closed to new replies.