PHPMyAdmin未定义索引:行

Saw*_*r05 9 mysql phpmyadmin undefined-index

我在使用phpMyAdmin时收到以下错误.每次我创建任何表时都会发生这种情况.

Notice in ./libraries/structure.lib.php#1881
 Undefined index: Rows

Backtrace

./libraries/structure.lib.php#2382: getHtmlForRowStatsTable(
array,
NULL,
boolean false,
boolean false,
string '',
string '',
)
./libraries/display_structure.inc.php#263: PMA_getHtmlForDisplayTableStats(
string '',
NULL,
NULL,
boolean false,
NULL,
string '?db=btc_orders&table=Rep&token=09aa3ad5cb85e33dad2a2098ed2874e2&goto=tbl_structure.php&back=tbl_structure.php',
NULL,
)
./tbl_structure.php#163: require_once(./libraries/display_structure.inc.php)
Run Code Online (Sandbox Code Playgroud)

它只发生在PHPMyAdmin中的一个Datadase上,没有任何错误弹出任何其他数据库.

我已删除所有表并再次完成它们,每次添加新表时仍会出现错误.

Saw*_*r05 30

问题是由于表中包含大写字符.我切换到表和字段名称中的所有小写字符,问题消失了.

  • 我认为这不是一个真正的答案,而是一个解决方法.根据[标识符](https://dev.mysql.com/doc/refman/5.0/en/identifiers.html)上的MySQL文档,显然允许在表名中使用大写字母.我有一个数据库,其中包含以大写字母开头的表格,这些表格已经使用了3年多,而phpMyAdmin最近才开始抱怨此错误消息.我怀疑这是phpMyAdmin中的一个问题,而不是数据库本身. (3认同)
  • 似乎它没有完全修复.该错误已消失,但如果表包含大写字母,则仍未显示添加约束.我只需要将我的所有桌子再次更换为小写 (2认同)