Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Brandon Selfors
Brandon Selfors
5,019 Points

MySQL issues with MAMP

I am setting up mamp on my mac and the mysql is not connecting...not sure why but this is my second time installing mamp and before the apache was not connecting. Any advise/suggestions?Thanks Brandon

1 Answer

Brandon Selfors
Brandon Selfors
5,019 Points

Nevermind I found a fix using "killall -9 mysqld" what does that mean tho?

James Barnett
James Barnett
39,199 Points

So killall -9 mysqld will find all instances of the MySQL server (which is called mysqld) and terminate them immediately.

  • kill = stop a running process specified by PID (process ID)
  • kill -9 = think of it as the process equivalent of holding down the power button
  • killall = stop processes by name (instead of an individual process by ID)

You can learn more about processes, in general and how to stop them in particular in the Treehouse console badge on processes