MySQL和PhpMyAdmin:未定义的索引:行

我的数据库基于
MySQL和PhpMyAdmin用于管理我的问题.

当我同时创建多行的表时,当我在PhpMyAdmin面板中转到表格的结构选项卡时,总是会出现这种类型的错误.
我不知道如何解决它,因为当我逐行创建时,它运行良好.

我建议你展示我的整个标签设置:
有一些法国人,因为我是法国人!

Titre_de_l_album

Column  Type    Null    Default Links to    Comments
id (Primary)    int(11) No           
artiste varchar(20) Yes     NULL         
album   varchar(20) Yes     NULL         
annee   int(4)  Yes     NULL         
pistes  int(11) Yes     NULL         
duree   int(11) Yes     NULL         
Indexes

Keyname Type    Unique  Packed  Column  Cardinality Collation   Null    Comment
PRIMARY BTREE   Yes No  id  0   A   No  


Space usage:
Data    0   B
Index   0   B
Total   0   B
    Row Statistics:


Open new phpMyAdmin window
Warning in ./libraries/tbl_printview.lib.php#376
 Illegal string offset 'Data_length'

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Notice in ./libraries/tbl_printview.lib.php#376
 Uninitialized string offset: 0

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Warning in ./libraries/tbl_printview.lib.php#381
 Illegal string offset 'Index_length'

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Notice in ./libraries/tbl_printview.lib.php#381
 Uninitialized string offset: 0

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Warning in ./libraries/tbl_printview.lib.php#399
 Illegal string offset 'Data_length'

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Notice in ./libraries/tbl_printview.lib.php#399
 Uninitialized string offset: 0

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Warning in ./libraries/tbl_printview.lib.php#399
 Illegal string offset 'Index_length'

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Warning in ./libraries/tbl_printview.lib.php#403
 Illegal string offset 'Data_length'

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Notice in ./libraries/tbl_printview.lib.php#403
 Uninitialized string offset: 0

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Warning in ./libraries/tbl_printview.lib.php#403
 Illegal string offset 'Index_length'

Backtrace

./libraries/tbl_printview.lib.php#509: PMA_getHtmlForSpaceUsageAndRowStatistics(
string '',
string 'Album_TAR',
string 'Titre_de_l_album',
string 'left',
)
./libraries/tbl_printview.lib.php#589: PMA_getHtmlForTableStructure(
boolean true,
boolean false,
array,
array,
array,
string 'Album_TAR',
string 'Titre_de_l_album',
array,
array,
string '',
string 'left',
)
./tbl_printview.php#65: PMA_getHtmlForTablesDetail(
array,
string 'Album_TAR',
array,
array,
string 'left',
)
Automatically send report next time

谢谢您的帮助.
PS:我看到其他主题,但我没有成功解决它,因为它只有Php

编辑:我是如何犯这个错误的

>创建一个新的数据库Album_TAR
>创建一个包含6个列的新表Titre_de_l_album
>进行以下配置:

> id,int,Primary,A_I
> Artiste,varchar,20
>专辑,varchar,20
> Annee,int,4
> Nombre,int
> Duree,int

>执行

而且我在结构选项卡上显示的消息错误

最佳答案 这个问题在这里得到了回答:
Undefined index: Rows

使用小写表和字段名称

点赞