Migrating XAMPP to a new Mac

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Migrating XAMPP to a new Mac

Postby MrAlexander » 25. September 2011 16:46


How can I migrate XAMPP to another machine and make sure that the database and other configurations will remain the same ?

Thank you for your help.

Posts: 8
Joined: 03. May 2011 14:29

Re: Migrating XAMPP to a new Mac

Postby JonB » 26. September 2011 11:08

Hi -

The 'right' thing to do for your MySQL databases is either to use the CLI 'mysqldump', or phpMyAdmin, and export all 'your' databases (don't worry about the MySQL control databases - unless you have added users to MySQL). Its easiest to do a move with the files stored in .sql format, then you can see what is in them or edit if needed. If you use phpMyAdmin, make sure the "Add IF NOT EXISTS" box is checked, makes it easier to restore.


Also - Save your config,inc.php for phpMyAdmin.

When you are on your new machine, you will be able to import those SQL files, using mysql CLI or phpMyAdmin.

As for the rest - save all the files ad folders YOU created under 'my sites' or htdocs (where ever your server root is).

Good Luck
User avatar
AF Moderator
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 3 guests