title: Can't connect to MySQL server error 113
body: <p>Trying to make a simple connect to my servers MySQL database and I get</p>
  
  <p><code>Warning: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on '&lt;host&gt;' (113)</code></p>
  
  <p>netstat -tulpen has a :3306 record</p>
  
  <pre><code>Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
  tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      999        801279      32067/mysqld
  </code></pre>
  
  <p>My bind-address in my.cnf is set to <code>0.0.0.0</code> and I still can't manage to connect to a database.</p>
  
  <p>My MySQL users</p>
  
  <pre><code>+------------------+------------------------+
  | User             | Host                   |
  +------------------+------------------------+
  | root             | 127.0.0.1              |
  | root             | localhost              |
  | root             | &lt;ip&gt;                   |
  +------------------+------------------------+
  </code></pre>
  
  <p>I can connect from the inside of my server.</p>
  
  <p>What i'm missing?</p>
  
  <p>Thank you in advance</p>