原文:ERROR 1146 (42S02): Table 'mysql.user' doesn't exist

第一步: drop table if exists mysql.servers Query OK, rows affected . sec 第二步: mysql gt CREATE TABLE servers gt Server name char NOT NULL, gt Host char NOT NULL, Db char NOT NULL, gt Username char NOT NUL ...

2019-11-28 03:19 0 3791 推薦指數:

查看詳情

MySQL [ERROR] Table 'mysql.user' doesn't exist

問題描述: 在安裝MYsql時,/etc/init.d/mysqld start時報錯: 解決步驟: 1、檢查安裝MYSQL時的腳本,及指定的文件 2、查看mariadb.log發現相關錯誤: [root@master init.d]# cd /var/log ...

Mon Apr 01 19:45:00 CST 2019 0 6591
MySQL Error 1146 Table doesn't exist

可能產生1146錯誤的原因:·innodb發生crash並丟失數據文件·數據目錄沒有合適的訪問權限·表中的數據發生損壞·.frm文件丟失 解決方案:·備份還原·重啟mysql server(如果mysql server異常關閉,重啟有可能會解決問題)·修復數據庫表(check table ...

Mon Apr 13 19:10:00 CST 2020 0 7278
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM