MySQL - Lost Connection?

I was having the same problem on OS X. Pretty sure this is what fixed

sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql

I think that's the lower level mysql interface. Sorry I seem so
unsure, just running off the top of my head.


Hi Tim, this is actually a necessary step on Mac OS X due to the
performance gains that one can receive. At this time, the command
is as follows for both Mac OS X and Windows:

sudo gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config