。\ libraries \ classes \ Dbi \ DbiMysqli.php#213中的警告

时间:2019-06-18 06:34:02

标签: php

。\ libraries \ classes \ Dbi \ DbiMysqli.php#213中的警告

在WORDPRESS下安装Drupal会生成错误消息。

用户帐户屏幕:

Warning in .\libraries\classes\Dbi\DbiMysqli.php#213
 mysqli_query(): (HY000/1194): Table 'user' is marked as crashed and should be repaired

回溯:

.\libraries\classes\Dbi\DbiMysqli.php#213: mysqli_query(
,
string 'SELECT *, IF(`Password` = _latin1 \'\', \'N\', \'Y\') AS \'Password\' FROM `mysql`.`user` ORDER BY `User` ASC, `Host` ASC;',
integer 0,
)
.\libraries\classes\DatabaseInterface.php#319: PhpMyAdmin\Dbi\DbiMysqli->realQuery(
string 'SELECT *, IF(`Password` = _latin1 \'\', \'N\', \'Y\') AS \'Password\' FROM `mysql`.`user` ORDER BY `User` ASC, `Host` ASC;',
,
integer 1,
)
.\libraries\classes\Server\Privileges.php#4667: PhpMyAdmin\DatabaseInterface->tryQuery(
string 'SELECT *, IF(`Password` = _latin1 \'\', \'N\', \'Y\') AS \'Password\' FROM `mysql`.`user` ORDER BY `User` ASC, `Host` ASC;',
integer 256,
integer 1,
)
.\server_privileges.php#439: PhpMyAdmin\Server\Privileges::getHtmlForUserOverview(
string './themes/pmahomme/img/',
string 'ltr',
)
Warning in .\libraries\classes\Dbi\DbiMysqli.php#213
 mysqli_query(): (HY000/1194): Table 'user' is marked as crashed and should be repaired

回溯:

.\libraries\classes\Dbi\DbiMysqli.php#213: mysqli_query(
,
string 'SELECT *, IF(`Password` = _latin1 \'\', \'N\', \'Y\') AS \'Password\' FROM `mysql`.`user` ;',
integer 0,
)
.\libraries\classes\DatabaseInterface.php#319: PhpMyAdmin\Dbi\DbiMysqli->realQuery(
string 'SELECT *, IF(`Password` = _latin1 \'\', \'N\', \'Y\') AS \'Password\' FROM `mysql`.`user` ;',
,
integer 1,
)
.\libraries\classes\Server\Privileges.php#4672: PhpMyAdmin\DatabaseInterface->tryQuery(
string 'SELECT *, IF(`Password` = _latin1 \'\', \'N\', \'Y\') AS \'Password\' FROM `mysql`.`user` ;',
integer 256,
integer 1,
)
.\server_privileges.php#439: PhpMyAdmin\Server\Privileges::getHtmlForUserOverview(
string './themes/pmahomme/img/',
string 'ltr',
)
Warning in .\libraries\classes\Dbi\DbiMysqli.php#213
 mysqli_query(): (HY000/1194): Table 'user' is marked as crashed and should be repaired

回溯:

.\libraries\classes\Dbi\DbiMysqli.php#213: mysqli_query(
,
string 'SELECT * FROM `mysql`.`user`',
integer 0,
)
.\libraries\classes\DatabaseInterface.php#319: PhpMyAdmin\Dbi\DbiMysqli->realQuery(
string 'SELECT * FROM `mysql`.`user`',
,
integer 1,
)
.\libraries\classes\Server\Privileges.php#4687: PhpMyAdmin\DatabaseInterface->tryQuery(
string 'SELECT * FROM `mysql`.`user`',
integer 256,
integer 1,
)
.\server_privileges.php#439: PhpMyAdmin\Server\Privileges::getHtmlForUserOverview(
string './themes/pmahomme/img/',
string 'ltr',
)

1 个答案:

答案 0 :(得分:1)

您应该修复用户表。 使用诸如“ REPAIR TABLE user”之类的SQL查询或使用PHPMyAdmin对其进行修复。