Master:
# 1    deal with a small bug in phpMyadmin                  
luke1
Online no
State 453
Grouping Super Admin
Class class4
Score 250
Wealth 62
Posts 230
Login 07:37:57
i have added a lot of members in a table, the emails are not unique. Now i need to make emails unique, the phpMyadmin detects the emails are not unique, so it don't allow us to do that, a button for making unique is disabled.

The thing is that i have removed all duplicate emails, the button is still disabled, this could be not serious bug, but we are disabled if we based on this button.

So, if you are sure that you have removed all duplicate email, you need to write a simple sql to run in phpMyadmin:

alter table member modify email varchar(100) unique;
Hits: 303, Date: 2010-05-21 23:56:31
[Agree] ( 6 ) [Against] ( 19 )

# 2    Mysql cancel unique key command                  
hans
Online no
State
Grouping Member
Class class4
Score 221
Wealth 155.5
Posts 156
Login 21:17:46
alter table member drop index a-field

Cheers
Hans
Hits: 301, Date: 2010-05-24 01:54:43
[Agree] ( 6 ) [Against] ( 7 )

1 - 2 [ 2]

Reply: deal with a small bug in phpMyadmin

*First line:


More content:


Tags:



Hint: You cannot post here before loginLogin | Register

nothing