I had MAMP running on my laptop. I use MySQL a lot. I kinda messed with the user file permission and I fixed it , in that process I changed some password in MySQL config files. So now SQL does not work even though MAMP runs perfectly.

I was planing on installing OS X Lion. I am wondering if upgrading to Lion will install MySQL and all its packages? Will it fix the problem? Or should I have to reinstall MySQL even after I upgrade?

2 Answers 2


You probably need to reset the root MySql password, there's a guide on how to it on HowToForge. You only need to have it happen once, back up the config files before tinkering with them


No, I don't believe Lion comes with any sort of SQL server pre-installed.

  • oh ok. So can you suggest a way to fix this ? when I start MAMP both SQL and APACHE lights turn green ,but cant access SQL or create tables n stuffs. Sep 16, 2011 at 3:20
  • brew install postgresql (Homebrew) Sep 16, 2011 at 4:30
  • 4
    Try re-installing MAMP.
    – Harv
    Sep 16, 2011 at 5:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .