I suggest you try "mysqlcheck" to repair your MariaDB database.
mysqlcheck is a maintenance tool that allows you to check, repair, analyze and optimize multiple tables from the command line.
It is essentially a command line interface to the CHECK TABLE, REPAIR TABLE, ANALYZE TABLE and OPTIMIZE TABLE commands, and so, unlike myisamchk and aria_chk, requires the server to be running.
This tool does not work with partitioned tables.
Or
"Stellar Repair for MySQl" is a good software to repair MariaDB databases within a few clicks. The best part, you can view your recoverable data before saving. 98.6% success rate.