From: "amir e." Date: 2011-08-29T07:48:20+09:00 Subject: Connecting Ruby and MySQL I installed MySQL 5.5 ( mysql-installer-5.5.15.0.msi ) and mysql gem ( with "gem install mysql" command ) . Now I write a simple program ( from this website : http://rubylearning.com/blog/2007/05/14/ruby-mysql-tutorial/ ) and when I run it ruby give me this message : "C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': 126: The specified module could not be found. - C:/Ruby192/lib/ruby/gems/1.9.1/gems/mysql-2.8.1-x86-mingw32/lib/1.9/mysql_api.so (LoadError)" **the code is : require 'mysql' #my = Mysql.new(hostname, username, password, databasename) con = Mysql.new('localhost', '', '', 'ruby') rs = con.query('select * from student') rs.each_hash { |h| puts h['name']} con.close please help me thanks -- Posted via http://www.ruby-forum.com/.