⟩ How to uninstall Mariadb On Osx?
or MariaDB 5.3.x then you can uninstall MariaDB with:
sudo make uninstall
If you compiled and installed MariaDB 5.5.x or higher then there is no 'make uninstall'. However, after doing a 'sudo make install' to install MariaDB there will be an 'install_manifest.txt' file at the top level of the source dir. Remove all of the files listed in it and everything you installed will be gone.
On Linux the default is to place everything under '/usr/local/mysql/' so removing that directory is enough to uninstall MariaDB. If you customized the install directory, or if MacOS has a different default then it will be different. In any case the 'install_manifest.txt' file will have the locations.