How to recovery mysql database from data folder backup

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

How to recovery mysql database from data folder backup

Postby vantruong2009 » 05. March 2018 16:27

Dear All!
I'm from Viet Nam and a new member. I have a question that needs help.
MacBook 12 retina MacOS High Sierra vesion 10.13.3.
My computer has a problem with sql error not working, I have reinstalled Xampp version 7.1.10-0 ( same old version ), but I forgot to backup my website database to sql (zip). I have kept the Xampp root directory and it is stored on a secure desktop.
I want to ask how to restore the database for the website.
Thanks everyone!
vantruong2009
 
Posts: 1
Joined: 05. March 2018 16:13
XAMPP version: 7.1.10-0
Operating System: MacOS High Sierra

Re: How to recovery mysql database from data folder backup

Postby Nobbie » 06. March 2018 00:17

Try to copy the whole "data" folder from your old Xampp installation to the new installatiom. At first rename the existing data folder from your new Xampp installation (for example rename it to data.orig or so) in order to avoid a mixture of the folders.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 16 guests