PHPMyAdmin 4.0.5-网格编辑,复选框,编辑,复制和删除功能不可用 [英] PHPMyAdmin 4.0.5 - Grid edit, checkbox, Edit, Copy and Delete features are not available
问题描述
我在PHPMyAdmin 4.0.5中看到此警告 不包含唯一列.网格编辑,复选框,编辑,复制和删除功能不可用." 在PHPMyAdmin 3.5.1中,使用相同的数据库可以正确显示这些选项. 可以解决这个问题吗?如何? 提前致谢 法比安.
I see this warning in PHPMyAdmin 4.0.5 "does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available." In PHPMyAdmin 3.5.1 these options appear correctly using the same database. Can fix this? How? thanks in advance Fabián.
推荐答案
要解决此问题,请在表中选择一个合适的列并在其上(或在它们上)创建唯一索引.版本4.0添加了此验证,以避免在未修改或删除预期行的情况下避免其他问题.
To fix this, pick a suitable column(s) in your table and create a unique index on it (or on them). Version 4.0 added this verification to avoid other problems when not the intended row is modified or deleted.
请参见 http://en.wikipedia.org/wiki/Unique_key .
但是,版本4.5.0在此方面进行了改进,请参见 https://github.com/phpmyadmin/phpmyadmin/issues/11061
However, version 4.5.0 contains an improvement in this regard, see https://github.com/phpmyadmin/phpmyadmin/issues/11061
这篇关于PHPMyAdmin 4.0.5-网格编辑,复选框,编辑,复制和删除功能不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!