WordPress.org

Support

Support » Plugins and Hacks » FeedCache » [Plugin: FeedCache] no MYSQL_SOCKET, must use DB_HOST instead

[Plugin: FeedCache] no MYSQL_SOCKET, must use DB_HOST instead

  • In attempting to config FC pipes I’ve run in to the fact that my host provides no sql socket. To my request for socket info they replied: “You won’t be using the socket method to connect, you’ll be giving it the hostname.

    Any web application needs to access the MySQL server through that host name, not a local socket. In your WordPress configuration file, for example, the variable to set would be ‘DB_HOST’ and you should use the host name.”

    Please advise for using DB_HOST to config FC pipes, instead of MYSQL_SOCKET.

Viewing 1 replies (of 1 total)
  • Plugin Author cpjolicoeur

    @cpjolicoeur

    In the feedcache-cron.rb file, try commenting out line number 37 by putting a “#” symbol at the start of the line.

    Instead of the line being this:

    :socket => MYSQL_SOCKET,

    change it to this:

    # :socket => MYSQL_SOCKET

    and then see if it runs fine for you.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: FeedCache] no MYSQL_SOCKET, must use DB_HOST instead’ is closed to new replies.
Skip to toolbar