You are viewing a read-only archive of the Blogs.Harvard network. Learn more.
Skip to content

Lost connection to MySQL server during query

after hours of struggling with some code that writes to a mysql database I finally discovered that I was using old and buggy drivers. If you are on ubuntu and find yourself staring at this error it would be a good idea to install libdbd-mysql-ruby

sudo apt-get install libdbd-mysql-ruby

Post a Comment

You must be logged in to post a comment.