MySQL Forums
Forum List  »  Newbie

Re: Corruptions like crazy
Posted by: John Bowles
Date: April 29, 2015 01:04PM

I just thought I should mention, I was reading about doing incremental backups of mysql and I set up the my.cnf file with the following two lines added.

log-bin=/tmp/mysql-bin #jwb: I inserted this line
binlog-do-db=MyDatabaseName #jwb: I inserted this line

and I run this command daily.

mysqldump -u root -pMyRootPassword --flush-logs --delete-master-logs --master-data=2 MyDatebaseName > /tmp/MJN_backup.sql

It seems to work. However when I first read about it the documentation said to start mysql in safe mode. I had problems with this (can't remember what) so I just started it as normal and everything seemed fine. I am wondering if running the mysql daemond as normal with the above two additions to the my.cnf file could create this problem.

Options: ReplyQuote


Subject
Written By
Posted
April 29, 2015 11:33AM
April 29, 2015 11:49AM
April 29, 2015 12:20PM
April 29, 2015 12:40PM
Re: Corruptions like crazy
April 29, 2015 01:04PM
April 29, 2015 01:36PM
April 29, 2015 01:48PM
April 29, 2015 02:00PM
April 29, 2015 02:59PM
April 29, 2015 03:30PM
April 29, 2015 04:24PM
April 30, 2015 07:44AM
April 30, 2015 07:48AM
April 30, 2015 08:44AM
April 30, 2015 08:57AM
April 30, 2015 08:59AM
April 30, 2015 09:40AM
April 30, 2015 10:19AM
April 30, 2015 01:45PM
April 30, 2015 02:42PM
April 30, 2015 03:36PM
April 30, 2015 07:36PM
April 30, 2015 10:50PM


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.