dozug64282 2011-01-29 08:40
浏览 841
已采纳

在'读取初始通信包'时失去与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

  • 写回答

1条回答 默认 最新

  • duannuci4008 2011-01-29 12:07
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题