BrianGilbert / OSXAegirInstaller

This script installs aegir on OSX using Homebrew
30 stars 10 forks source link

Can't stop/restart MAMP v3 MySQL #32

Closed wickwood closed 10 years ago

wickwood commented 10 years ago

I already had MAMP v3 installed on my system when I ran your OSXAegirInstaller and today I tried to restart MAMP servers, but I get this error:

MySQL couldn't stopped. Please check the log file for more information. This could be due to the options file /etc/my.cnf, /etc/mysql/my.cnf or ~/.my.cnf.

I see that /etc/my.cnf was installed by the OSXAegirInstaller.

I am able to view MAMP databases with the MAMP phpMyAdmin and with Sequel Pro. ( Thanks to this tutorial http://tommcfarlin.com/using-sequel-pro-with-mamp/ )

And I am also able to restart the MAMP servers if I temporarily rename /etc/my.cnf.

Any ideas on how I can make these 2 systems play better together?

Thanks for your help in advance! Steve

BrianGilbert commented 10 years ago

Hi Steve

You just need to change MAMP's default port to something other than 3306, the readme states that you shouldn't have services running on that or port 80 before install.

Cheers Brian

wickwood commented 10 years ago

I don't have MySQL port set to 3306. It is set to MAMP's default port of 8889.

Sorry I should have mentioned that before.

Curious, isn't it?