如何在 MySQL 中找到所有数据库触发器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5420812/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 19:16:59 来源:igfitidea点击:
How can I find all the db triggers in MySQL?
提问by Tattat
I created a trigger using SQL, how can I see the trigger using MySQL in phpMyadmin?
我使用 SQL 创建了一个触发器,如何在 phpMyadmin 中查看使用 MySQL 的触发器?
回答by Eugene Yarmash
Click on the 'SQL' tab and enter this query:
单击“SQL”选项卡并输入以下查询:
SHOW TRIGGERS
回答by Nicola Cossu
select * from information_schema.triggers where trigger_schema = 'your_db'
回答by Silvio Troia
to see all your routines the code is...
要查看您的所有例程,代码是...
select * from information_schema.routines