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)

  

相关文章:

  • 2022-03-06
  • 2022-01-25
  • 2021-07-03
  • 2021-09-09
  • 2021-07-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
猜你喜欢
  • 2022-12-23
  • 2021-12-20
  • 2021-07-25
  • 2021-11-20
  • 2022-02-25
  • 2022-12-23
相关资源
相似解决方案