title: I access remote phpmyadmin but not mysql via command line
body: <p>I have a distant web application and DataBase, and I want to do some test in my local machine using the remote Database.</p>
  
  <p>So I changed httpd-xampp.conf -> LocationMatch:</p>
  
  <pre><code>    Order deny,allow
      #Require local
      Allow from ::1 127.0.0.0/8
      Allow from xx.xx.xx.xx
  </code></pre>
  
  <p>And add in my.ini:</p>
  
  <pre><code>    skip-name-resolve
  </code></pre>
  
  <p>Then I restart apache and mysql.</p>
  
  <p>Now I can access to phpmyadmin without problem but not in mysql via command line nor via my web application</p>
  
  <p>How can I remotely access to mysql via command line?</p>
  
  <p>Thank you</p>