在'读取初始通信包'时失去与MySQL服务器的连接,系统错误:111

I'm receiving this error while I'm trying to connect to a database from a different server. I saw some solutions in some forums suggesting a change in the bind-address in my.cnf. But the problem is I have to connect the database from the same server as well.

So what can I do about this, so that I can connect the db from either servers?

Please tell me if I've to give more details.

Thanks

Well, I've figured out the solution. The trick is to comment the bind address in my.cnf file.