Introduction to MariaDB and MySQL triggers - LinuxConfig.org


#1
MySQL/MariaDB triggers are stored programs associated with a table in a database, and used to automatically perform some actions when an INSERT, DELETE or UPDATE event is performed on the table. A trigger can be set to perform an action either before or after the event it is associated to. In this tutorial, we will see how to create and manage a trigger.
This is a companion discussion topic for the original entry at https://linuxconfig.org/introduction-to-mariadb-and-mysql-triggers