title: How do I restart mysql and where is my.cnf file
body: <p>I am using a Mac OS X Snow Leopard Apple computer.</p>
  
  <p>I installed MySQL on my machine using instructions mentioned <a href="http://hivelogic.com/articles/compiling-mysql-on-snow-leopard" rel="nofollow noreferrer">here</a>. Everything works great. However I have two questions.</p>
  
  <ol>
  <li><p>Where is <code>my.cnf</code> file? I searched the whole file system and result is empty. Is it possible that there is no <code>my.cnf</code> and MySQL works with default values. If yes then probably I should create <code>my.cnf</code> at <code>/etc/mysql</code>. Is that right?</p></li>
  <li><p>How do I restart the MySQL server ? I know it gets started when I restart my machine. Here is what plist looks like. <code>mysqld_safe</code> does not let me restart server.</p>
  
  <p>
  
  
  
      KeepAlive
      
      Label
      com.mysql.mysqld
      Program
      /usr/local/mysql/bin/mysqld_safe
      RunAtLoad
      
      UserName
      mysql
      WorkingDirectory
      /usr/local/mysql
  
  </p></li>
  </ol>