Den här artikeln finns även på:
Svenska
Due to security concerns, we cannot activate event_scheduler in MariaDB on our web hosting account servers. Therefore, you cannot set up eventes in MariaDB.
Instead, we recommend that you use cron jobs set up on the server.
When you create the cron job, you could use a command like this:
mariadb -h localhost -uDATABASE_USER-pPASSSWORD-DDATABASE_NAME-e "QUERY"
It is wise to create a separate MariaDB user for this, and then connect that new user to the database. Remember to swap out DATABASE_USER, PASSWORD, DATABASE_NAME, and QUERY in the command above.