rajeshkumar created the topic: ERROR 1227 (42000) at line 133: Access denied; you need the SUPER priv
ERROR 1227 (42000) at line 133: Access denied; you need the SUPER privilege for this operation
SQL query:
DELIMITER ; ;
/*!50003 CREATE*//*!50017 DEFINER=`s_snetus`@`localhost`*//*!50003 TRIGGER `inserttree` AFTER INSERT ON `account_owner` FOR EACH ROW BEGIN DECLARE s INTEGER; DECLARE t INTEGER; DECLARE ParentPath varchar(30); SET s=NEW.REPORTS_TO; SET t = NEW.ID; if s is NULL then insert into hierarchy_path values (t,t); else select PATH INTO ParentPath from hierarchy_path where ID = s; insert into hierarchy_path values (t,CONCAT(ParentPath,’,’,t)); end if; END */ ; ;
MySQL said:
#1227 – Access denied; you need the SUPER privilege for this operation
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
- Best AI tools for Software Engineers - November 4, 2024
- Installing Jupyter: Get up and running on your computer - November 2, 2024
- An Introduction of SymOps by SymOps.com - October 30, 2024