Score:0

Delete binlog.* to solve "can't init tc log"?

th flag

I had a problem few days ago, (it happened by it self or I was responsable of it but I didn't notice).My Mysql service was working well, but one day, without any warning it started was refusing to start.

In the console logs, this seems to be the problem: "Can't init tc log". I've tried a lot of things, till I found out that deleting the binlog.* and especially binlog.index (from the directory /var/lib/mysql) solves the problem. By doing some research about those files, I learned that binlog.* file are used to backup DB.

What are you thoughts about this? And is there any other solutions to solve this problem without deleting those files (specially in production because I think they cant be very important)

ua flag
Just a guess... Check permissions on binlogs files and the directory they are in.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.