RE: Can't drop index

2010-04-02 Thread Neil Aggarwal
Krishna: > Just check it up that any active transaction is still there in innodb > internal data dictionary. Acutally I figured it out. There was a constraint on that column as well. Once I dropped the constraint, I was able to drop the index. Thanks for the help, Neil -- Neil Aggarwal,

Re: Can't drop index

2010-04-02 Thread Krishna Chandra Prajapati
Hi Neil, Just check it up that any active transaction is still there in innodb internal data dictionary. Execute show engine innodb status\G Check for active transaction related to the current table. If it's there kill that transaction id and try again. _Krishna On Fri, Apr 2, 2010 at 10:35

Can't drop index

2010-04-02 Thread Neil Aggarwal
Hello: When I try to drop an index from an InnoDB table: drop index company_n56 on company; I get this error: ERROR 1025 (HY000): Error on rename of './thymeleweb/#sql-788_1218' to './thymeleweb/company' (errno: 150) Look at the index using: show keys from company\G gives me this info for that

Re: Can't drop index.

2005-01-24 Thread Ian Sales (DBA)
sam wun wrote: Hi, I created an index on a foreign in a table before. I need to drop this index. but I got the following error: mysql> alter table transaction drop index prodcode; ERROR 1025 (HY000): Error on rename of './datacube/#sql-30e8_3' to './datacube/transaction' (errno: 150) - you need t

Can't drop index.

2005-01-23 Thread sam wun
Hi, I created an index on a foreign in a table before. I need to drop this index. but I got the following error: mysql> alter table transaction drop index prodcode; ERROR 1025 (HY000): Error on rename of './datacube/#sql-30e8_3' to './datacube/transaction' (errno: 150) mysql> mysql> show index f