Problem on new iMac 27" and MAMP PRO

So I managed to get work to purchase me a new iMac 27" (10.6.2) so I didn't have to use my personal MBP anymore... and I was trying to set up my mini-developer environment with PHP/mySQL/Apache, but wanted something easier than what I had to do in 10.5. I turned to MAMP/MAMP PRO and while MAMP will actually launch everything after changing the default port mySQL, MAMP PRO will not. It just hangs on launching mySQL.

Odd thing is, it actually starts the process, but for whatever reason won't actually complete it. I have to manually kill the process just so I can try it again. And no, even with the process loaded I can't connect to it via command line. I have no idea what's going on with this since in theory this should have been point, click, done. Not so much.

I posted up on MAMP's forum earlier today, but I'm still waiting for it to pass the moderator. If anyone has any experience here, I'm all ears.

17" MBP Unibody, Mac OS X (10.5.6), 320GB 7200RPM, 4GB RAM, Anti-Glare

Posted on Nov 30, 2009 5:46 PM

Reply
9 replies

Dec 1, 2009 3:40 AM in response to NewYorkYogi

As far as I know, everything is self contained in MAMP and is run from it's own directory. Since this is a factory install of SL, MySQL shouldn't be installed so that shouldn't be an issue.

Maybe it's some kind of permissions thing, but nothing showed up in the logs for MAMP that would point to that. In fact, what did show up in the log was only there because MySQL wouldn't load.

I'm going to poke around the system log files today and see if there's anything there. Worst case, I'll be setting things up the normal way, but I was hoping not to have to do that. Oh well...

Dec 1, 2009 12:05 PM in response to Anthony Curcione

I don't know enough about it to give any real insights, but SL already contains Apache (just turn on the Web Sharing option in System Preferences > Sharing) and PHP is already installed (you need to edit a config file and uncomment out a line). If Apache is re-installed, I don't know what happens when you click Web Sharing.

Not really answering any of your questions, I know. 😉

Dec 1, 2009 12:16 PM in response to Anthony Curcione

I managed to find my issue. When I setup my new iMac I used the Migration Assistant to pull over my applications and data from a backup I made on my system running 10.5.x. I didn't realize it was going to pull over all the files used by my old installation of MySQL that wasn't in the user directory! So it looks like when starting MAMP PRO, MySQL was trying to use the my.cnf file that was located in /etc/ which I didn't even know was there. I would have thought that MAMP would NOT look in /etc/ for the file, but i guess since that's a default location it still does.

Course now I'm a bit concerned about what else might have come over from the migration that I didn't think was going to!

Dec 1, 2009 4:23 PM in response to NewYorkYogi

Ordinarily I would have reinstalled all my applications, but I just didn't have the time. I figured if it worked, then great - saved a bunch of time! Otherwise, I would have done the hard way.

Actually, since it worked so well, I did the same process on my MBP so I could get that on SL. I did a clean install and then migrated apps. That's working great as well. Now I wonder, though!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Problem on new iMac 27" and MAMP PRO

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.