title: how to remote database mysql XAMPP from another computer?
body: <p>the script of connection =</p>
  
  <pre><code>&lt;?
  $server = "192.168.0.167";
  $username = "root";
  $password = "";
  $database = "dbbook";
  mysql_connect($server,$username,$password) or die("Koneksi gagal");
  mysql_select_db($database) or die("Database tidak bisa dibuka");
  ?&gt;
  </code></pre>
  
  <p>and i had add this script on my.cnf file after [mysqld] = </p>
  
  <pre><code>bind-address=192.168.0.167
  </code></pre>
  
  <p>but it didnt work with the following caption </p>
  
  <blockquote>
    <p>mycomputer.mshome.net is not allowed to connect to this Mysql server</p>
  </blockquote>
  
  <p>Please help me.How to remote database mysql XAMPP from another computer ?</p>