Backup Your Database
Before attempting to repair the corrupt database, make sure to back up your database files first.

Although the db is already corrupt, backing it up will help minimize the risk of further damage, which may be caused due to a recovery operation.

To back up all of the db files, follow these steps:

1. Stop the MySQL server.
2. Create a backup copy of your datadir.

Check these references: https://severalnines.com/database-bl...at-do-i-do-now
https://www.guguweb.com/2020/02/06/h...ysql-database/