How to repair a corrupted MySQL/MariaDB database using HeidiSQL? Marius Vaida 2 years ago How to repair a corrupted MySQL/MariaDB database using HeidiSQL? Due power loss or other factors, sometimes MySQL databases get corrupted. Here is a quick way to repair them.