In a Linux-based NDB-cluster consisting of 7 API nodes, 1 Management node and 4 NDB nodes, I am trying to drop a table.
When I try to drop the table using MySQL Client, I receive the following error:
mysql> drop table table_name;
ERROR 1051 (42S02): Unknown table 'database_name.table_name'
I should be able to drop tables in an NDB Cluster by using the MySQL Client, but after a short search on Google I found I could also use the ndb_drop_table tool.
I then got the following results:
./ndb_drop_table --ndb-nodeid=13 --ndb-mgmd-host=xx.xx.xx.xx:1186 table_name -d database_name
Dropping table table_name...
4243: Index not found
NDBT_ProgramExit: 1 - Failed
Searching for this error, I got exactly one (unanswered) result: http://lists.mysql.com/cluster/1608
As a last resort I tried to delete the entire database, but this command internally drops all tables first, so I got the same results:
mysql> drop database database_name;
ERROR 1051 (42S02): Unknown table 'database_name.table_name'
Please advise on how to delete this table.