MySQL Forums
Forum List  »  Newbie

Re: access data on a backup mount
Posted by: Peter Brawley
Date: December 01, 2016 02:41PM

> rename the datadir and ln -s

No! You can't play around with MySQL databases like that, this isn't a video game.

Are the MySQL files in the backup built from the same version as the daemon you're running?

If, so, you need to edit several my,cnf settings to point datadir and innodb settings at the backup folders, then restart MySQL.

If not, you need to install that version, then point it at the desired data files.



Edited 1 time(s). Last edit at 12/01/2016 02:42PM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
December 01, 2016 01:34PM
Re: access data on a backup mount
December 01, 2016 02:41PM


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.