加个trigger
DELIMITER |
CREATE TRIGGER phpmyadmin.tri_hisInsert AFTER INSERT
ON pma__history FOR EACH ROW
BEGIN
INSERT INTO user_act_history (`username`,`db`,`table`,`timevalue`,`sqlquery`) VALUES (NEW.`username`,NEW.`db`,NEW.`table`,NEW.`timevalue`,NEW.`sqlquery`);
END|
DELIMITER ;
文章题目:加个trigger
网页链接:http://lswzjz.com/article/jhdjoh.html
CREATE TRIGGER phpmyadmin.tri_hisInsert AFTER INSERT
ON pma__history FOR EACH ROW
BEGIN
INSERT INTO user_act_history (`username`,`db`,`table`,`timevalue`,`sqlquery`) VALUES (NEW.`username`,NEW.`db`,NEW.`table`,NEW.`timevalue`,NEW.`sqlquery`);
END|
DELIMITER ;
文章题目:加个trigger
网页链接:http://lswzjz.com/article/jhdjoh.html