原文: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