Search code examples
macosmariadbmacports

Lost control over my MariaDB installation


I installed MariaDB on my mac with Macports but lost control over it, mysteriously. I can list the processes and I can login using a user with no privileges. But if I try to stop the database using the usual macports command (sudo port unload mariadb-10.1-server) I get the following error:

/opt/local/etc/LaunchDaemons/org.macports.mariadb-10.1-server/org.macports.mariadb-10.1-server.plist: Could not find specified service

I've tried installing and uninstalling but this doesn't change. How can I do a fresh install of MariaDB on my mac?


Solution

  • I've deleted the directory where this installation was and reinstalled from Macports. That solved the problem.