MySQL Forums
Forum List  »  Install & Repo

Re: How do I salvage old settings with new install of MySQL
Posted by: Peter Brawley
Date: September 11, 2019 09:55AM

Look for "datadir" in my*.cnf on the backup drive. "Datadir" specifies where the data folders are. Default is /var/lib/mysql/. InnoiDB files are in the path defined by innodb_data_home_dir, by default the same as other mysql files, check the setting in my.cnf.

Next time, institute regular data dumps with mysqldump, such logical backup &^ restore is slower but much safer.

Options: ReplyQuote


Subject
Written By
Posted
Re: How do I salvage old settings with new install of MySQL
September 11, 2019 09:55AM


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.