title: ERROR 2003(HY000): Can't connect to MySQL server on 'local.****.com' (110)
body: <p>I am continually getting the error in the title when trying to do a mysql dump as per below:</p>
  
  <pre><code>mysql -hlocal.xxxx.com -uxxx -pxxx xxx &lt; xxx.sql
  </code></pre>
  
  <p>Looking around, I thought it may have been an iptable issue but I've since allowed the designated address of local.****.com to the iptable, it says:</p>
  
  <blockquote>
    <p>Chain INPUT (policy ACCEPT) target     prot opt source<br>
    destination          ACCEPT     all  --  local.*****.com    anywhere  </p>
    
    <p>Chain FORWARD (policy ACCEPT) target     prot opt source<br>
    destination         </p>
    
    <p>Chain OUTPUT (policy ACCEPT) target     prot opt source<br>
    destination</p>
  </blockquote>
  
  <p>but am still getting the same error/issue. If anyone has some insight on what I could/should do to go about this it would be much appreciated!     </p>