Have MySQL 5.5 Server setup on a windows machine. I am able to connect to the server from console / app running on the same machine but not from a remote machine. While connecting using the command
mysql -h xx.xx.xx.xx --port=3306 -u root -p
I get error as:
ERROR 1042 (HY000): Can't get hostname for your address
Have tried putting entry of client ip in server's etc\hosts file as
<client-ip> <client-hostname>
- Server: MySQL ver 5.5
- OS: Windows XP