title: Change port # for mysql on mac
body: <p>I just installed mysql on a mac running 10.6. The mysql version is 5.1.56. I need to have mysql run on port 3307. This article says we can change the port by modifying this file:</p>
  
  <pre><code># vi /etc/my.cnf
  </code></pre>
  
  <p><a href="http://www.cyberciti.biz/faq/change-default-mysql-port-under-linuxunix/" rel="noreferrer">http://www.cyberciti.biz/faq/change-default-mysql-port-under-linuxunix/</a></p>
  
  <p>but there is no such file in /etc. I can see mysql is running ok because I can connect to it just fine, is the way we change the port # different now?</p>
  
  <p>Thanks</p>