Title: [Plugin: FeedCache] no MYSQL_SOCKET, must use DB_HOST instead
Last modified: August 19, 2016

---

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

 *  [uxdesign](https://wordpress.org/support/users/uxdesign/)
 * (@uxdesign)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/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](https://wordpress.org/support/users/cpjolicoeur/)
 * (@cpjolicoeur)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-feedcache-no-mysql_socket-must-use-db_host-instead/#post-1638335)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/feedcache.svg)
 * [FeedCache](https://wordpress.org/plugins/feedcache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/feedcache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/feedcache/)
 * [Active Topics](https://wordpress.org/support/plugin/feedcache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feedcache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feedcache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [cpjolicoeur](https://wordpress.org/support/users/cpjolicoeur/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-feedcache-no-mysql_socket-must-use-db_host-instead/#post-1638335)
 * Status: not resolved