To fix it you have to repair the damaged table.
From an ssh client, connect to MySQL:
1 |
mysql -h localhost -u root -p |
Yoy will be asked for the root password of MySQL.
After login type the following rows:
1 2 3 |
use asteriskcdrdb; check table cdr; repair table cdr; |
That’s all.