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

Problems with the Linux version of XAMPP, questions, comments, and anything related.

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

Postby tab » 07. March 2015 20:33

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.
tab
 
Posts: 4
Joined: 19. July 2013 18:17
Operating System: windows 8

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

Postby Nobbie » 07. March 2015 20:51

Possibly missing file permissions, the files in the data folder must have certain permissions in order to be accepted by MySQL.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

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

Postby tab » 26. April 2015 16:09

Hi,
I just read your answer. So, How can I set correct permissions? I only have the backup data without any access to windows
tab
 
Posts: 4
Joined: 19. July 2013 18:17
Operating System: windows 8

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

Postby Nobbie » 26. April 2015 17:21

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").
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 17 guests