MySQL Forums
Forum List  »  Triggers

SHOW CREATE TRIGGER fails
Posted by: Steven Fullmer
Date: July 01, 2011 05:42AM

I have created multiple triggers to insert a creation and modification time for my tables. When I try to use SHOW CREATE TRIGGER, I am given an error like this:
mysql> SHOW CREATE TRIGGER trg_tag_md;
ERROR 1146 (42S02): Table 'bibliophile.Tags' doesn't exist
Same error for all triggers within this bibliophile database:
mysql> SHOW TABLES;
+-----------------------+
| Tables_in_bibliophile |
+-----------------------+
| Authors               |
| Books                 |
| Materials             |
| Subjects              |
| Tags                  |
| linkAuthorBook        |
| linkBookTag           |
+-----------------------+

I have not updated MySQL since original installation, so it's not an update/upgrade issue. I get the same error as non-priveleged and root user accounts. I've altered all tables heavily (added/removed columns, renamed column names and even table names) but the triggers apparently "follow" the tables around (hurray for table IDs!) and still point to the updated table names ('Tags' for example used to be called '_tag' or '_tags' and went through about 5 renames).

Ideas where I should be looking to resolve this?

Options: Reply• Quote


Subject
Views
Written By
Posted
SHOW CREATE TRIGGER fails
4522
July 01, 2011 05:42AM
1429
July 01, 2011 10:59AM
3038
July 01, 2011 11:08AM
1527
July 01, 2011 11:25AM
1564
July 01, 2011 11:34AM
1553
July 01, 2011 12:27PM
1628
July 01, 2011 12:33PM
1418
July 01, 2011 12:42PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.