I am getting the following error when trying to run a simple Ruby on Rails application from RubyMine:
C:/Ruby192/lib/ruby/gems/1.9.1/gems/mysql2-0.2.6-x86-mi
I copied libmysql.dll from mysql-connector-c-6.1.5-win32.zip\mysql-connector-c-6.1.5-win32\lib from here http://dev.mysql.com/downloads/connector/c/ to ruby bin directory to make it working
libmysql.dll
mysql-connector-c-6.1.5-win32.zip\mysql-connector-c-6.1.5-win32\lib