Comments - MacBook user wonders if macport was installed incorrectly, of if she is just stupid.

6 years, 5 months ago Jan Steinman

MacPorts is not the best way to go, in my opinion. I struggled with it for a while, and it was always out-of-date.

Homebrew installation works well for me on a variety of Macs back to 10.6.8. The "formula" seems to be kept up-to-date better than the MacPorts. There's even a nice GUI called "Cakebrew."

Perhaps 10.5 is too old, considering 10.12 is the current release? Can she upgrade her MacBook?

6 years, 5 months ago linda hirst

Thanks! We'll give that a try. Do we need to uninstall what macports has done?

6 years, 5 months ago Jan Steinman

I think it's a good idea to run the MacPorts de-installer. If it got as far as installing a launchd script, then you could end up with two copies of MariaDB running, competing for the same default port (3306).

I think the Homebrew folks recommend uninstalling other package managers before installing Homebrew, as sometimes they fight over the $PATH variable.

So, first do something like "port uninstall mariadb" (but look it up, I don't have it installed, so I can't tell you how it works).

Then use the MacPorts procedure for uninstalling itself.

Then install Homebrew.

Then do "brew install mariadb". That should give you MariaDB 10.1.17.

Package managers are a joy when they work right, and a royal PITA otherwise...

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.