Recently we saw how we can catch audit information using invisible column, JSON data type and triggers in MySQL 8.0:
Of course, the creation of these triggers can quickly become a tedious operation. Once again, MySQL has all what we need to make it simple.
As you may know, it’s impossible to create triggers from store
procedure, so using a sys schema function would not
be something possible. However, MySQL Shell is again the answer !
It’s very easy to use a python plugin to perform the necessary
operations.
I’ve written such example, available on …
[Read more]