主库执行 ? 1 2 3 4 5 CREATE DATABASE test CHARACTER SET utf8 COLLATE utf8_general_ci; use test; create table if not exists h1 (id int (10) PRIMARY KEY AUTO_INCREMENT, name varch
sql语句: DROP TRIGGERIFEXISTS sys_menu_edit;CREATE TRIGGER sys_menu_edit BEFORE UPDATE ON sys_menu FOR EACH ROWBEGININSERT INTO `g4m`.`sys_log` ( `table_name`, `val_id`, `data_j