title: Allow remote access to mysql database on ubuntu server
body: <p>I have my database on one ubuntu server and i want to use the same database on that server as well as on other ubuntu server.I have tried all the possible tutorials available for allow remote access but it's not working.
  I am getting the error below when i try to access the database from local machine</p>
  
  <blockquote>
    <p>A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.</p>
  </blockquote>
  
  <p>I have set bind-address=0.0.0.0 in my.cnf file and also create new user by following commands:</p>
  
  <pre><code>mysql –u root -p
  GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY 'password';
  FLUSH PRIVILEGES;
  </code></pre>
  
  <p>Is there any solution which can solve this issue?</p>