Skip to content

Instantly share code, notes, and snippets.

@benfavre
Created August 13, 2018 14:01
Show Gist options
  • Save benfavre/9ba894134f43123eaf5ff9a6d44f302a to your computer and use it in GitHub Desktop.
Save benfavre/9ba894134f43123eaf5ff9a6d44f302a to your computer and use it in GitHub Desktop.
MYSQL / MARIADB error | Can't init tc log
[Note] Recovering after a crash using tc.log
[ERROR] Can't init tc log
[ERROR] Aborting
FIX:
rm /var/lib/mysql/tc.log
Then:
sudo service mysql start
@runofthemill
Copy link

In case anyone else ends up here, but is using a bitnami/mariadb docker image: the file is located at /bitnami/mariadb/data/tc.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment