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屋!