【问题标题】:Thinking Sphinx configuration fails - cannot connect to mysql through socket, despite socket existing!思考 Sphinx 配置失败 - 尽管存在套接字,但无法通过套接字连接到 mysql!
【发布时间】:2010-08-11 21:23:58
【问题描述】:

当我运行 rake ts:conf 时,我得到“无法通过套接字 '/var/run/mysqld/mysql.sock' (2) 连接到本地 MySQL 服务器”

此套接字文件确实存在。

【问题讨论】:

    标签: mysql ruby-on-rails sphinx thinking-sphinx


    【解决方案1】:

    事实证明,我的应用程序的一部分在寻找 /mysql.sock,一部分在寻找 /mysqld.sock。我最后只是将一个符号链接到另一个。

    【讨论】:

      猜你喜欢
      • 2012-08-25
      • 2018-09-09
      • 1970-01-01
      • 2011-10-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多