Nick Karnik

Twitter


Errors

ERRNO::EPIPE -> Broken Pipe

Have you ever encountered a ‘Broken Pipe’ error? It happens when MySQL closes the open connection after 8 hours (By default) or upon restarting MySQL. I tried various solutions (None of these worked): ActiveRecord::Base.verification_timeout = 14400 Stale database connections should be handled gracefully Irc.freenode.net – #RubyOnRails (Totally…

Nick KarnikNick Karnik

Installing MySQL Extensions for Ruby

When I tried ‘gem install mysql’, I got the following error:ruby extconf.rb install mysql checking for mysql_query() in -lmysqlclient… no checking for main() in -lm… yes checking for mysql_query() in -lmysqlclient… no checking for main() in -lz… yes checking for mysql_query() in -lmysqlclient… no checking…

Nick KarnikNick Karnik