title: ln: /usr/bin/mysql: Operation not permitted
body: <p>After I install the mysql in my Macbook Pro, when I excute the order:</p>
  
  <pre><code>$ sudo ln -s /usr/local/mysql/bin/mysql /usr/bin
  </code></pre>
  
  <p>I get a error:</p>
  
  <blockquote>
    <p>Password:<br>
    ln: /usr/bin/mysql: Operation not permitted</p>
  </blockquote>
  
  <hr>
  
  <p>I have tried the method below:</p>
  
  <p>Method 1:</p>
  
  <p>1) <code>vim ~/.bash_profile</code><br>
  2) add <code>export PATH=$PATH:/usr/local/mysql/bin</code></p>
  
  <hr>
  
  <p><a href="https://i.stack.imgur.com/Fgu5E.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Fgu5E.jpg" alt="enter image description here"></a></p>
  
  <hr>
  
  <p>3) <code>source ~/.bash_profile</code></p>