Question

I've setup a Komodo remote database server with a MySQL plugin loaded and I want to empty a table. I select the table and change to the "query" tab in the MySQL plugin, but when I run "truncate table;" it does nothing. I've allowed deletion of the "full table", but I cannot delete all selected rows in the "full table" either. It gives me a KeyError: 150 or KeyError: 84?

Était-ce utile?

La solution

Use DELETE or remove any foreign key constraints or checks before attempting to TRUNCATE.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top