2017-10-14 43 views
0

我與MySQL的問題如下:錯誤1805(HY000):mysql.user的列數錯誤。預計45,48,發現該表可能已損壞

mysql> SELECT User FROM mysql.user; 
+------+ 
| User | 
+------+ 
| root | 
| root | 
|  | 
| root | 
|  | 
| root | 
+------+ 
6 rows in set (0.00 sec) 

mysql> CREATE USER 'dummy'@'localhost'; 
ERROR 1805 (HY000): Column count of mysql.user is wrong. 
Expected 45, found 48. The table is probably corrupted 

有任何滿足這一問題,感謝

+0

嘗試'CREATE USER '啞' @ '本地主機' IDENTIFIED BY '[口令]';' –

+0

的MySQL>創建用戶 '啞' @ '本地主機' IDENTIFIED BY '虛設'; 錯誤1805(HY000):mysql.user的列數錯誤。預計45,找到48.表可能損壞它仍然無法正常工作。 – DBDBDDB

+1

[mysql.proc的列數錯誤可能是重複的。預計20,發現16.表可能損壞](https://stackoverflow.com/questions/16177465/column-count-of-mysql-proc-is-wrong-expected-20-found-16-the-table -is-probabl) – Progman

回答

相關問題