A problem with setting up table PRIMARY KEYS in the new version of phpMyAdmin versio 4.7.4
I have tried to set up a table PRIMARY Key with the following :
Name : user_id
Type:INT
Attributes:UNSIGNED
Index:PRIMARY
A_I:AUTO INCREMENT selected
NOT NULL
I am getting the following error message:
#1089-incorrect prefix key;the used key part isnn't a string, the used length is longer than the key part or the storage engine does not support unique prefix keys
This is a new problem in phpMyAdmin because I have always set up my PRIMARY KEYS like this on Wampserver for three years now and I have not had a problem because the tables have worked as expected. I have gone over the available documentation on setting up PRIMARY keys and I am doing exactly what it says but stillphpMyAdmin won't accept the tables. I have tried the InnoDB engine and the other Mysair engine but the error message persists. I have tried to set up the tables using SQL code instead of using phpMyAdmin but the error message is still the same.
Help with this problem to that I may be able to use phpMyAdmin again would be greatly appreciated.
I have tried to set up a table PRIMARY Key with the following :
Name : user_id
Type:INT
Attributes:UNSIGNED
Index:PRIMARY
A_I:AUTO INCREMENT selected
NOT NULL
I am getting the following error message:
#1089-incorrect prefix key;the used key part isnn't a string, the used length is longer than the key part or the storage engine does not support unique prefix keys
This is a new problem in phpMyAdmin because I have always set up my PRIMARY KEYS like this on Wampserver for three years now and I have not had a problem because the tables have worked as expected. I have gone over the available documentation on setting up PRIMARY keys and I am doing exactly what it says but stillphpMyAdmin won't accept the tables. I have tried the InnoDB engine and the other Mysair engine but the error message persists. I have tried to set up the tables using SQL code instead of using phpMyAdmin but the error message is still the same.
Help with this problem to that I may be able to use phpMyAdmin again would be greatly appreciated.