The following trigger won't execute in HeidiSQL or phymyadmin, any assistance would be gretly appreciated in fixing.
I'm using heidisql, and they used workbench. though this shouldn't matter
DELIMITER $$
CREATE TRIGGER t_l_in_a
BEFORE UPDATE ON x_l
FOR EACH ROW BEGIN
IF OLD.in_a = 1 THEN
SET NEW.status = 0;
END IF;
END$$
DELIMITER;
Assuming table names and col names are correct.
Thanks much.
ps. This is the error: SQL Error (1419): You do not have the SUPER privilege and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)
I am using an Admin user for the DB,