Page 1 of 1

How migrate all MySQL DBs from Xampp windows to Xampp Linux?

PostPosted: 07. March 2015 20:33
by tab
Hi,
I installed Linux Mint in place of Windows and I want to migrate xampp DBs from windows to linux.
I have already migrate htdocs directory (setting user permissions) but I am not able to make the same thing with dbs.
I copied /windows/xampp/mysql/data/* to /opt/lampp/var/mysql.
I can see all DBS via phpmyadmin but If I click on them, they are empty, without any table.

Re: How migrate all MySQL DBs from Xampp windows to Xampp Li

PostPosted: 07. March 2015 20:51
by Nobbie
Possibly missing file permissions, the files in the data folder must have certain permissions in order to be accepted by MySQL.

Re: How migrate all MySQL DBs from Xampp windows to Xampp Li

PostPosted: 26. April 2015 16:09
by tab
Hi,
I just read your answer. So, How can I set correct permissions? I only have the backup data without any access to windows

Re: How migrate all MySQL DBs from Xampp windows to Xampp Li

PostPosted: 26. April 2015 17:21
by Nobbie
tab wrote:Hi,
I just read your answer. So, How can I set correct permissions? I only have the backup data without any access to windows


You dont need Windows, you have to grant file permissions in the Linux file system (read about "chmod").