I am trying to connect and using MySQL server from Ruby.

When I run program like "ruby mysql.rb" then error display like:

/home/jaimin/mysql.rb:6:in `<top (required)>': uninitialized constant
Mysql (NameError)
  from
/home/jaimin/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in
`require'
  from
/home/jaimin/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in
`require'
  from mysql.rb:2:in `<main>'


How can I solve this error?

Best regards.

-- 
Posted via http://www.ruby-forum.com/.