After upgrading from Jessie to Stretch, I couldn't start my mariadb.service. The error message is '[ERROR]: Can't init tc log'.
After some digging, I find the answer.
I think the problem has been caused due to my /var partition. I had let the partition with /var on get full. I cleaned some space but until i deleted /var/lib/mysql/tc.log, mysql wouldn't start.
Note: If you use 'sudo apt-get upgrade', it will prompt that "mariadb-server-10.1 left unconfigured".
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved]Mariadb couldn't start. [Error]: Can't init tc log.
Re: [Solved]Mariadb couldn't start. [Error]: Can't init tc l
THIS! Thank you so much, I ran into this exact issue and this solved it!