WordPress.org

Ready to get started?Download WordPress

Forums

FeedCache
no MYSQL_SOCKET, must use DB_HOST instead (2 posts)

  1. uxdesign
    Member
    Posted 4 years ago #

    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.

  2. cpjolicoeur
    Member
    Plugin Author

    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags