Clean reinstall mariadb

SYSTEM INFORMATION
OS type and version: Debian Linux 10
Webmin version: 1.962
Virtualmin version: 6.14
Related products version: MariaDB v.10.3.27

Hello everyone,
my MariaDb is corrupted: sometimes the database crashes and I wanna reinstall it (I’ve already tried very many times to fix it without a result).
I’ve already created backups for every database: How can I remove and make a clean install of MariaDB?

Thank you very much,
best regards,
Daniele

Odds are that’s not going to help you. You need to find out why your database crashes. That’s what the error logs are for.

You chose Debian, I assume you know how to install and uninstall applications. You may have amended db config files etc. or updated something that is not working. Its a wild guess what is wrong without knowing the specifics.