
Hi,
I am not able to connect to MySQL database. Its giving following error:
mysql error 1042 can't get hostname for your address
How to solve this error?
Thanks

Hi,
Find my.ini file of your MySQL Server and then add the following line to it:
skip-name-resolve
Complete code would be:
[mysqld] port=3306 skip-name-resolve
This should solve the problem.
Thanks