I just had an issue with ZoneMinder after an update.
It started complaining about MariaDb/SQL and refusing to start.
After reading the last few pages, I removed the log files, and it's seemingly all good again, Figured a message to layout what I did in simple terms (i.e. terms I can follow) might help others, and check I've not goofed in any way.
I went to appdata, and removed the following files (There were 2) : /mysql/ib_logfile*