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

  • Home
  • SEARCH
  • 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 760431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:43:01+00:00 2026-05-14T15:43:01+00:00

I am using a Mac OS X Snow Leopard Apple computer. I installed MySQL

  • 0

I am using a Mac OS X Snow Leopard Apple computer.

I installed MySQL on my machine using instructions mentioned here. Everything works great. However I have two questions.

  1. Where is my.cnf file? I searched the whole file system and result is empty. Is it possible that there is no my.cnf and MySQL works with default values. If yes then probably I should create my.cnf at /etc/mysql. Is that right?

  2. How do I restart the MySQL server ? I know it gets started when I restart my machine. Here is what plist looks like. mysqld_safe does not let me restart server.

    KeepAlive

    Label
    com.mysql.mysqld
    Program
    /usr/local/mysql/bin/mysqld_safe
    RunAtLoad

    UserName
    mysql
    WorkingDirectory
    /usr/local/mysql

  • 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-05-14T15:43:01+00:00Added an answer on May 14, 2026 at 3:43 pm

    From the example my.cnf that comes with mysql:

    # You can copy this file to
    # /etc/my.cnf to set global options,
    # mysql-data-dir/my.cnf to set server-specific options (in this
    # installation this directory is /usr/local/mysql/data) or
    # ~/.my.cnf to set user-specific options.
    

    On my OS X 10.4 instance, my.cnf is at /etc/my.cnf.

    To restart mysql, use mysqladmin to shut it down and then start it up again with mysqld_safe:

    /usr/local/mysql/bin/mysqladmin -uroot -p shutdown
    sudo /usr/local/mysql/bin/mysqld_safe &
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've followed the instructions on http://geryit.com/blog/2011/01/installing-mysql-with-rails-on-mac-os-x-snow-leopard/ , including the installation of ruby via macport.
I'm running Python 2.6.4 on Mac Snow Leopard. I installed pycurl using: sudo env
All, For all of this I am using Mac OSX Snow Leopard. I have
I am using a Mac OS running Snow Leopard 10.6.8 and RVM 1.10.3, Ruby
I'd like to try Vim. I'm using Mac OS 10.6.2 (Snow Leopard). I downloaded
I'm using Mac OS X Snow Leopard and i can not install PIL 1.1.6.
I have a Mac mini with Snow Leopard Server installed on it. I need
I'm using Adobe Air 1.5 with Safari 4.0.3 on Mac OS Snow Leopard. When
I am using a Mac OS running Snow Leopard 10.6.8, Ruby on Rails 3.2.2
I am using Mac OS Snow Leopard, Apache Server, Phusion Passenger and RVM and

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.