







查看触发器
mysql> show triggers \G
*************************** 1. row ***************************
Trigger: student_insert_trigger
Event: INSERT
Table: student
Statement: BEGIN
update student_total
set total=total+1;
END
Timing: AFTER
Created: 2023-07-11 16:13:51.26
sql_mode: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Definer: root@%
character_set_client: utf8
collation_connection: utf8_general_ci
Database Collation: utf8_general_ci
1 row in set (0.00 sec)

![本地git 提交代码时 报错 [session-4d40e187] Access denied](https://img-blog.csdnimg.cn/ede10e07bf3f47c7b76220bfc906bd27.png)

















