I’ve had a number of issues recently running Rails applications against MySQL databases.
Some of those issues have been segfaults. The most recent issue was the error “Mysql::Error: query: not connected“. After double checking my configuratio, making sure that the server was alive and some Googling I copied libMYSQL.dll to C:/Ruby187/bin. This resolved the issues.
I've got a masters degree in computer science and over 10 years of experience building web-based systems using Java/J2EE, Ruby, Rails and PHP. I'm a strong believer in the effectiveness of Agile Methods. Read more »
Resolve MySQL Issues in Rails on Windows
I’ve had a number of issues recently running Rails applications against MySQL databases.
Some of those issues have been segfaults. The most recent issue was the error “Mysql::Error: query: not connected“. After double checking my configuratio, making sure that the server was alive and some Googling I copied libMYSQL.dll to C:/Ruby187/bin. This resolved the issues.