diff --git a/lib/thinking_sphinx.rb b/lib/thinking_sphinx.rb
index <HASH>..<HASH> 100644
--- a/lib/thinking_sphinx.rb
+++ b/lib/thinking_sphinx.rb
@@ -1,6 +1,7 @@
 if RUBY_PLATFORM == 'java'
   require 'java'
   require 'jdbc/mysql'
+  Jdbc::MySQL.load_driver
 else
   require 'mysql2'
 end
Make sure MySQL driver is loaded for JDBC.