MySQL Forums
Forum List  »  Data Recovery

Re: Inactive server, same computer
Posted by: Marlon Augusto Marlon
Date: November 23, 2016 07:48AM

SOLUTION

* stop mysql service
1) make a backup of the folder /var/lib/mysql/
2) sudo cp -R -f /oldPartition/var/lib/mysql/* /var/lib/mysql/
3) Give permission (chown) to user and group (mysql:mysql) of the DATABASES that you copied and want to use
* start mysql service

It worked fine with me. I hope it helps anyone with the same doubt.

Options: ReplyQuote


Subject
Views
Written By
Posted
1501
November 16, 2016 11:49AM
772
November 17, 2016 11:53AM
656
November 18, 2016 12:34PM
969
November 18, 2016 02:19PM
Re: Inactive server, same computer
1032
November 23, 2016 07:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.