Using ruby gem 'sequel', when I attempt Sequel.connect("mysql://localhost")
, I get the following error:
Sequel::AdapterNotFound: LoadError: require 'mysql' did not define Mysql::CLIENT_MULTI_RESULTS!
You are probably using the pure ruby mysql.rb driver,
which Sequel does not support. You need to install
the C based adapter, and make sure that the mysql.so
file is loaded instead of the mysql.rb file.
How can I get this gem to connect to a MySQL server?
Sys: Win XP, Ruby 1.8.7, Mysql 5.1.51