How can I find all the db triggers in MySQL?

扶醉桌前 提交于 2019-12-21 07:16:10

问题


I created a trigger using SQL, how can I see the trigger using MySQL in phpMyadmin?


回答1:


Click on the 'SQL' tab and enter this query:

SHOW TRIGGERS



回答2:


select * from information_schema.triggers where trigger_schema = 'your_db'



回答3:


to see all your routines the code is...

select * from information_schema.routines


来源:https://stackoverflow.com/questions/5420812/how-can-i-find-all-the-db-triggers-in-mysql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!