How to drop unique in MySQL?
Create Table: CREATE TABLE `fuinfo` ( `fid` int(10) unsigned NOT NULL, `name` varchar(40) NOT NULL, `email` varchar(128) NOT NULL, UNIQUE KEY `email` (`email`), UNIQUE KEY `fid` (`fid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 I want to drop the unique key on email ,how? Simply you can use the following SQL Script to delete the index in MySQL: alter table fuinfo drop index email; There is a better way which don't need you to alter the table: mysql> DROP INDEX email ON fuinfo; where email is the name of unique key (index). You can also bring it back like that: mysql> CREATE UNIQUE INDEX email ON