title: Trying to edit the my.cnf file in mysql and it does not work
body: <p>I'm attempting to use cat /etc/my.cnf in mysql but when I do this, it just shows -> wanting me to keep putting in inputs. </p>
  
  <p>However, when I put a semicolon at the end.</p>
  
  <blockquote>
    <p>cat /etc/my.cnf;</p>
  </blockquote>
  
  <p>it throws an error. </p>
  
  <p>How can I edit the /etc/my.cnf file? </p>
  
  <p>I'm running this on terminal on a Mac and I got into the mysql server by using the command </p>
  
  <blockquote>
    <p>sudo /usr/local/mysql/bin/mysql -u root</p>
  </blockquote>
  
  <p>.</p>