All our servers block in the SQL level to update the admin user to prevent users from changing the admin user. That was the magical incantation that has been passed over and over.
We don’t need anyone changing it to confuse our test servers.
DELIMITER ;; /*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER users_update BEFORE UPDATE ON users FOR EACH ROW IF OLD.user_id = 1 THEN SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'admin user account is locked'; END IF */;; DELIMITER ;
It was never a requirement that an SQL would now change it. What can be the new requirement?