MYSQL trigger gets deleted automatically

荒凉一梦 提交于 2020-01-06 08:33:14

问题


I have using mysql 5.1 with cpanel /whm centOS.

I had to use trigger for one of my website. so i installed trigger as root so that when something gets inserted on one table there some more rows gets inserted in other table

Everything was working fine, but i have seen that there is no trigger in my dtabase.

How does that be deleted from DB.

I am bit worried because currently site is not live , but it can cause problem if this happens in live site.

Does any mysql updation cause the trigger to delete. but i have no updated.

How can i make sure it don't happen in future

Thanks


回答1:


Did you try:

SHOW TRIGGERS;


来源:https://stackoverflow.com/questions/2954635/mysql-trigger-gets-deleted-automatically

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