Importing/Indexing Mysql database in Solr using Data Import Handler

November 10, 2014 · Posted in Development · Comment 

Solr is an open source enterprise search platform from the Apache Lucene project.
Find tutorial how to import data from MySQL database to Solr:

https://gist.github.com/maxivak/3e3ee1fca32f3949f052.

Dynamic connection to MySQL database in Ruby on Rails (mysql2)

April 7, 2012 · Posted in Development · Comment 

Read more

Installing mysql2 gem on Ruby 1.9.2 and Rails 3.0.5 on Windows

December 22, 2011 · Posted in Development · 5 Comments 

When running ‘rake db:create’, you may get the following error:

>rake db:create
rake aborted!
126: The specified module could not be found. - d:/RailsInstaller/Ruby1.9.2/li
b/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.9/mysql2.so

or may get these errors while installing mysql:

rake aborted !
uninitialized constant mysql2

Error ‘uninitialized constant mysql2′ comes when mysql2 installation is not done properly.

Read more