Caraways Class

  • Home
  • Classes
    • BCIS 1305 – Business Computer Applications
    • ITSE 1302 – Computer Programming (Logic and Design)
    • ITSE 1311 – Beginning Web Programming
    • ITSE 1350 – Systems Analysis and Design
    • ITSW 1304 – Intro to Spreadsheets
    • COSC 1301 – Intro to Computers
    • SEO – Analytics & Tracking
    • WordPress I & 2
  • Resources
    • Books
  • Contact

MySQL Server hangs on MAMP servers start up

screen shot of MAMP start dialog

If you are using MAMP to serve as your local web installation on your Mac, you may experience an occasional issue where you can start the Apache Server but not the MySQL Server. I am still trying to determine the cause for this aggravation – I see it almost every time I crank up my web server. Never fear, there is a quick fix to get you back on track.

From my limited understanding, the cause of this is a “left over” mysql process that is still running – most likely initiated during a previous MAMP session. Because MAMP sees a mysql process already running, it won’t start a new one. In order to start a new MySQL Server process in MAMP, we need to stop the “old” one.

All you need to do is start a session in Terminal by either navigating to your Applications->Utilities folder and opening terminal.app or using Spotlight to search for Terminal.
search for Terminal in spotlight
Once you have Terminal up, you only need to type the following command at the blinking cursor prompt:

killall -9 mysqld

Hit ‘Enter’ and this command will stop (kill) any mysql processes that are currently running. You should now be able click the “Start Servers” button and get green lights for both services.

Share this:

  • Click to email this to a friend (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • GitHub
  • LinkedIn
  • Twitter
  • Vimeo

Email Subscription

Sign up to receive email updates for the latest site updates!

Latest Tweets

  • Spring 2020 Semester https://t.co/JDtwUb4EAr April 15, 2020 6:03 pm
  • Winter Mini 2019-2020 https://t.co/25RzBsnIS7 December 14, 2019 3:45 am
  • Fall 2019 Semester https://t.co/uWJlNz4l0z September 20, 2019 11:46 am
  • more tweets...

Copyright © 2021 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.