Mysql corrupt table


#1

I have a corrupt table in mysql database which causes Gitea fails to start. In mysql error log there are a bunch of entries like this:
1989116736 [ERROR] mysqld: Incorrect information in file: ‘./gitea/commit_status.frm’
I tried to repair the table, but no luck:
MariaDB [gitea]> REPAIR TABLE commit_status use_frm;
±--------------------±-------±---------±-----------------------------------------------------------+
| Table | Op | Msg_type | Msg_text |
±--------------------±-------±---------±-----------------------------------------------------------+
| gitea.commit_status | repair | Error | Incorrect information in file: ‘./gitea/commit_status.frm’ |
| gitea.commit_status | repair | error | Corrupt |
±--------------------±-------±---------±-----------------------------------------------------------+
2 rows in set (0.00 sec)

Unfortunately I don’t have a backup of the DB that I can restore.
Can you suggest a solution for me?


#2

I had dumped the gogs.db file. (I set sqlite3 as the default server.)
Then, I try to restore to a newer version and I get error.

Anyway, I have no idea about database and that binary file.