I try to delete from a table in mysql but it doesn’t allow me.
I run:
delete from mytable where sourceid=2;
and I get:
ERROR 1146 (42S02): Table 'mydatabase.history_mytable' doesn't exist
What is wrong here ? I think there should be an option to configure mysql in order not to check for this history table.
Run this command:
Source: http://dev.mysql.com/doc/refman/5.0/en/show-triggers.html
And then if some trigger exists,
Source : http://dev.mysql.com/doc/refman/5.0/en/drop-trigger.html
if you don’t use the trigger.