title: EHost 'ip' is not allowed to connect to this MySQL serverConnection
body: <p>I have two Instances: A and B</p>
  
  <p>I am trying to connect Instance A to Instance B's mysql db.</p>
  
  <p>On both instances I have added 3600 to the security group</p>
  
  <p><a href="https://i.stack.imgur.com/t3leq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t3leq.jpg" alt="enter image description here"></a></p>
  
  <p>I have edited Instance B's <strong>/etc/mysql/my.cnf</strong> and <strong>added 0.0.0.0</strong> as the bind-address and <strong>restarted mysql</strong></p>
  
  <pre><code>[mysqld]
  #
  # * Basic Settings
  #
  user        = mysql
  pid-file    = /var/run/mysqld/mysqld.pid
  socket      = /var/run/mysqld/mysqld.sock
  port        = 3306
  basedir     = /usr
  datadir     = /var/lib/mysql
  tmpdir      = /tmp
  lc-messages-dir = /usr/share/mysql
  skip-external-locking
  #
  # Instead of skip-networking the default is now to listen only on
  # localhost which is more compatible and is not less secure.
  #bind-address       = 127.0.0.1
  bind-address           = 0.0.0.0 
  #
  # * Fine Tuning
  #
  key_buffer      = 16M
  max_allowed_packet  = 16M
  thread_stack        = 192K
  thread_cache_size       = 8
  </code></pre>
  
  <p>But when I'm on Instance A terminal and try <code>telnet [Instance B public ip] 3306</code> I get </p>
  
  <blockquote>
    <p>EHost '[Instance A public ip]' is not allowed to connect to this MySQL
    serverConnection closed by foreign host.</p>
  </blockquote>
  
  <p>Did I miss a step or did something wrong or something?</p>