From: Bruno Moura Date: 2008-05-24T01:51:55+09:00 Subject: Problem with ruby + mysql on windows Hello I'm having a problem to conect and use ruby to performe some operations with a mysql database. I downloaded the gem mysql 2.7.3 (win32) and added the windows path with mysql bin and mysql lib entries.When a try to execute the script below an error occurs, with a message: Error in the entry of procedure mysql_stmt_row_tell in lib LIBMYSQL.dll? in the code: require 'rubygems' require 'mysql' m = Mysql.new("localhost","user","pass","database") r = m.query("SELECT * FROM table") r.each_hash do |f| print "#{f['camp1']} - #{f['camp2']}" end Could you help me, please? Thank's Berable -- Posted via http://www.ruby-forum.com/.