Uninstall or delete MariaDB completely for re-installation ...
mariadb.com › kb › enIf you are using ubuntu, I suggest you to use the apt-get command to remove the database package, for instance: $ sudo apt-get purge mariadb-server . You may check which mariadb packages are installed with: $ sudo dpkg -l | grep mariadb Ubuntu documentation for apt-get: https://help.ubuntu.com/community/AptGet/Howto. Regards, Faustin