How can we trigger a mysql trigger when the system date is changed? Let’s say
We have a mysql table and it has a dateTime column and at a specific time of each day we need to update that dateTime column according to a specific condition. So is it possible to achieve this task in mysql?
How can we trigger a mysql trigger when the system date is changed? Let’s
Share
You cannot create this trigger. There are only table INSERT/UPDATE/DELETE triggers.
One more thing – as I know, the MySQL server should be restarted after system date changing.