当我尝试创建触发器以在USER1模式下创建表后在表questiontypes
中插入内容时,我从MySQL收到此错误(在phpmyadmin上执行):Sorry an unexpected error happened!
>
DELIMITER $$
CREATE OR REPLACE TRIGGER create_table_trigger
AFTER CREATE ON USER1.SCHEMA
BEGIN
INSERT INTO USER1.questiontypes VALUES('text');
END;
DELIMITER ;
有人可以解决吗?