Lost connection to MySQL server at 'reading initial communication packet', system error: 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 开发者_如何学JAVAthe 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.
精彩评论