我刚刚在Win10(安装程序)上安装了XAMPP,但在我做任何事情之前都在PHPMyAdmin中出错:
我得到'你是以root身份登录的,没有密码,你应该更改它,所以我点击用户帐户,我明白了:
Error
Static analysis:
5 errors were found during analysis.
Unexpected closing bracket. (near ")" at position 52)
Unexpected closing bracket. (near ")" at position 110)
Unexpected closing bracket. (near ")" at position 177)
Unexpected closing bracket. (near ")" at position 245)
Unexpected closing bracket. (near ")" at position 311)
SQL query: DocumentationEdit Edit
(SELECT DISTINCT `User`, `Host` FROM `mysql`.`user` )
UNION (SELECT DISTINCT `User`, `Host` FROM `mysql`.`db` )
UNION (SELECT DISTINCT `User`, `Host` FROM `mysql`.`tables_priv` )
UNION (SELECT DISTINCT `User`, `Host` FROM `mysql`.`columns_priv` )
UNION (SELECT DISTINCT `User`, `Host` FROM `mysql`.`procs_priv` )
ORDER BY `User` ASC, `Host` ASC
MySQL said: Documentation
#126 - Incorrect key file for table '.\mysql\db.MYI'; try to repair it
答案 0 :(得分:0)
与XAMPP开箱即用的phpMyAdmin 4.5.0存在完全相同的问题。我刚从https://www.phpmyadmin.net/
更新到最新的phpMyAdmin(4.5.1)我使用本指南进行更新: https://www.ostraining.com/blog/coding/update-phpmyadmin/
作为旁注,我在黑客攻击和修复表格方面存在实际问题。我想,每个都属于他们自己。
答案 1 :(得分:0)
USE mysql;
CHECK TABLE db;
# When it comes back and tells you to REPAIR it,...
REPAIR TABLE db;
同样在上次停电期间搞砸了的任何其他MyISAM表。