Hello,
How do you want to track an action?
With directadmin:
http://www.directadmin.com/features.php?id=463
http://www.directadmin.com/features.php?id=1251
With MySQL you should see CREATE PROCEDURE and CREATE FUNCTION
MySQL 5.0 http://dev.mysql.com/doc/refman/5.0/en/create-procedure.html
MySQL 5.1 http://dev.mysql.com/doc/refman/5.1/en/create-procedure.html
MySQL 5.5 http://dev.mysql.com/doc/refman/5.5/en/create-procedure.html