修复./mysql/proc

mysql数据库只能建不能删的错误提示及处理方法:

 mysql> drop database zabbixaa;

ERROR 145 (HY000): Table ‘./mysql/proc‘ is marked as crashed and should be repaired

处理方法:直接在mysql数据库里面使用root帐号登录后,进行修复:

mysql> repair table mysql.proc;

+------------+--------+----------+----------+

| Table      | Op     | Msg_type | Msg_text |

+------------+--------+----------+----------+

| mysql.proc | repair | status   | OK       |

+------------+--------+----------+----------+

1 row in set (0.05 sec)

再次执行删除正常

mysql> drop database zabbixaa;

Query OK, 0 rows affected (0.02 sec)

  

上一篇:Win10 配置Tomcat与Java环境变量


下一篇:多线程并发之java内存模型JMM