With MySQL 5.0 the database provides trigger functionality on INSERT
, REPLACE
, UPDATE
and DELETE
.
Those of you who know some other RDBMS know, that there are also some system events where one would like to have triggers.
Unfortunately MySQL does not (yet) provide such functionality. This is sad because as database administrator this would be sometimes very helpful.
But you can build your own LOGON
and STARTUP
trigger.
MySQL provides some hooks for these events...