kayamboo,
Friday, December 06, 2002, 9:15:04 AM, you wrote:
k> When I tried to drop the key, this was the error
k> mysql> alter table town_db drop primary key ;
k> ERROR 1025: Error on rename of '.\forest\#sql-f6_1' to '.\forest\town_db'
k> (errno: 150)
k> I suppose some lock in the index somewhere but couldnot figure it out.
Did you have another table with foreign key constraints for which
town_db is a parent table? If so, you need to create index on the
'town' and then drop PRIMARY KEY.
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ Egor.Egorov@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com