早上收到报警,数据库报错Table erp_agents is marked as crashed and should be repaired
提示这张表损坏了,需要修复,
于是登录数据库:
root@mysql-2:~# mysql -uroot -p123456
MySQL [(none)]> use zhiliao-20190429;
MySQL [(none)]> REPAIR TABLE erp_agents;
2022-11-11 23:03:19
提示这张表损坏了,需要修复,
于是登录数据库:
root@mysql-2:~# mysql -uroot -p123456
MySQL [(none)]> use zhiliao-20190429;
MySQL [(none)]> REPAIR TABLE erp_agents;