Can not connect to MySql server remotely I can not connect to MySQL server from a remote computer. When I try to connect it gives me the error


  Host '' is not allowed to connect to this MySQL server


I've edited the MySQL server my.ini file by changing the bind line from #bind = "127.0.0.1"  to bind = *. I've turned off the firewall of the client machine trying to access the server. I also gave full privilege to the user of MySQL database through which I am  trying to connect to the server by using the MySQL grant command, but nothing seems to be working.

Please help me.

Thanks
A MySQL user has a "from host" field. This is probably set to some IP and those mismatch, giving you that error.
This field allows for extra security and can be set to any IP/hostname.
If this field is set for the user then you can only login to the MySQL server with that user from the IP/hostname specified.
If you want to test your connection you can just use a wildcard for the "from host" field % so that any IP can connect using that user, I wouldn't recommend this in a product environment though.