The only thing indeed you have to do manually, is adding the bin folder of mysql to your path.Īdd it to /etc/paths to add it to all paths of your users with: sudo echo "/usr/local/mysql/bin" > /etc/pathsĪdd it to your user's path by e.g.: touch ~/.bash_profileĮcho "export PATH=/usr/local/mysql/bin:$PATH" > ~/.bash_profile If your MySQL doesn't start properly please check the /Library/LaunchDaemon and the /Library/StartupItems folder for older versions of the plist or conflicting start-up-items. Until now I never had a problem to get this running right out-of-the-box. Older versions used to use the /Library/StartupItems folder.Ī proper .ist file in /Library/LaunchDaemons looks like this:
The default settings meanwhile install a plist to /Library/LaunchDaemons to provide the recommended way to start-up services at boot time (with launchd). Trying to set-up and get EJBCA working on Yosemite I had to install Oracle MySQL recently and it worked flawlessly.Īfter downloading the installer, open the image and install MySQL with the default settings using your admin account. Installing Oracle MySQL Community Edition: Download and install PostgreSQL and use that one. It may be unnoticed subject of change by Apple. It's not advised to use the OS X Server PostgreSQL for any of your purposes. All the MAMP stacks are easy to configure to reserve other ports (e.g.
They don't interfere with any original software like Oracle MySQL/PostgreSQL/OS X Server postgres provided you don't use their distinctive ports. All of them are self-containing stacks and get installed to the /Applications folder.
It's no problem to install MAMP, MAMP Pro or Bitnami MAMP Stack on OS X Server (Yosemite or older). Well, I want to install MediaWiki and do not want to mess around with the system accounts, like resetting passwords (it may break every other Server service which uses Postgres) and secondly, following the installation, MediaWiki prefers MySQL over Postgres (which I second as well).ĭid anyone successfully install MySQL on their OS X Yosemite installation (running OS X Server)? You may wonder why install MySQL when you have Postgres. 8:18:54.764 PM System Preferences: status= 4
However, the next parts do not work and I wonder how to actually get them working: I can even manually start the MySQL server, which, according to System Preferences, is then running. Trying to install MySQL from that package nevertheless, it ran without problems.
I have seen numerous suggestions about using MAMP to install MySQL on OS X, but since I have the Server app and already have Apache and PHP, which I do not wish to mess up, I wonder how to properly install MySQL.