This is not a question, but a self-created problem / question and solution that I found working. I thought it would be a courtesy, because there was no complete working solution that I could find.
Error generated in phpMyAdmin:
"This table does not contain a unique column. Grid editing, checkbox, editing, copying and deleting are not available."
Depending on your exact scenario, there are several working solutions.
For example, if your entire AI or Unique identifier field is unique, you can simply modify the table and make sure that it is the Primary key and set a unique value.
I solved this with this solution on one of my tables.
In another table, there were several AI int values that were a Primary field, but there were several values of the same type.
A simple solution to this was to simply add a column at the end of the table as a unique AI Int. Essentially, all of MySQL says that each row requires a unique value to distinguish between rows.
Hope this was helpful.
database php mysql phpmyadmin
OldWest Sep 20 '13 at 17:25 2013-09-20 17:25
source share