Alter a live table to make a key non-unique

后端 未结 3 1964
故里飘歌
故里飘歌 2020-12-20 12:13

I saw some other questions related to this, but they were not MySQL.

The database is a live database, so I don\'t want to delete and recreate the table. I simply wan

3条回答
  •  天涯浪人
    2020-12-20 12:39

    These are instructions for phpmyadmin app (if you are using phpMyAdmin) ::

    In a some cases, the developer (you) may not want to drop it but rather just modify the "uniqueness" to "not-unique".

    Steps :

    1. Go to the table in context, where you want to make the modification

    2. Click on the "Structure" tab (mostly next to Browse)

    3. Look for the "+Indexes" link, just under the columns. Yeah... now click it
    4. Now you can see all the "Indexes" and you can now click on the "DROP" button or link to modify.

    Answer was found here : Source : https://forums.phpfreaks.com/topic/164827-phpmyadmin-how-to-make-not-unique/

提交回复
热议问题