Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8115873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:36:23+00:00 2026-06-06T03:36:23+00:00

To find out the start command for mysqld (using a mac) I can do:

  • 0

To find out the start command for mysqld (using a mac) I can do:

ps aux|grep mysql

I get the following output, which allows me to start mysql server.

/usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=...

How would I find the necessary command to stop mysql from the command line?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T03:36:25+00:00Added an answer on June 6, 2026 at 3:36 am

    Try:

    /usr/local/mysql/bin/mysqladmin -u root -p shutdown 
    

    Or:

    sudo mysqld stop
    

    Or:

    sudo /usr/local/mysql/bin/mysqld stop
    

    Or:

    sudo mysql.server stop
    

    If you install the Launchctl in OSX you can try:

    MacPorts

    sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql.plist
    sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql.plist
    

    Note: this is persistent after reboot.

    Homebrew

    launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
    launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
    

    Binary installer

    sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
    sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
    sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart
    

    I found that in: https://stackoverflow.com/a/102094/58768

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Pattern pattern = Pattern.compile(a?); Matcher matcher = pattern.matcher(a); while(matcher.find()){ System.out.println(matcher.start()+[+matcher.group()+]+matcher.end()); } Output : 0[a]1
1)how can i find out the Windows Installation drive in which the user is
How can I find out, whether the model has changed? I would like start
I am trying to find out whether it is possible to start a gen_server
I have start date and end date. I need to find out the day
My code : Pattern pattern = Pattern.compile(a?); Matcher matcher = pattern.matcher(ababa); while(matcher.find()){ System.out.println(matcher.start()+[+matcher.group()+]+matcher.end()); }
I am writing a program doing the following works: Run a command using ProcessBuilder
I can start an Erlang file either via the command line or bash script:
I am trying to start a service on a remote computer using the following
I've decided to start experimenting with Ruby to get out of my little Java

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.