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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top