If replication is broken by a simple invalid query, i.e. grants change, etc. you can force-skip that query:
Best results in other decks
We had a strange behaviour on one of our mariadb-servers: Everyday at around midnight we saw that the root...
between 2 dates select latest_date, lowest_date, floor(datediff(date(latest_date), date(lowest_date)) / 365) from your_table